URL: http://github.com/pythonpizza/brno.python.pizza/commit/f99bc66ba9a7932703e7ef7a9f93e5d8a5721dea
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fa6218 commit f99bc66Copy full SHA for f99bc66
.github/workflows/nextjs.yml
@@ -80,7 +80,8 @@ jobs:
80
runs-on: ubuntu-latest
81
needs: build
82
steps:
83
- - run: echo "$BASE_PATH this is the base path"
+ - name: What is Base Path
84
+ run: echo "$BASE_PATH this is the base path"
85
- name: Deploy to GitHub Pages
86
id: deployment
87
uses: actions/deploy-pages@v4
src/components/image.tsx
@@ -32,7 +32,7 @@ export const Image: React.FC<Props> = ({
32
33
return (
34
<img
35
- src={`${process.env.BASE_PATH ? process.env.BASE_PATH : ""}${src}`}
+ src={`${process.env.BASE_PATH ? process.env.BASE_PATH : "/"}${src}`}
36
alt={alt}
37
sx={{ width: finalWidth, height: finalHeight, objectFit }}
38
className={className}
0 commit comments