Skip to content

Commit

Permalink
attempt to fix github page asset path
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-chu committed Apr 22, 2024
1 parent cb02898 commit d5a6b40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
# Build job
build:
runs-on: ubuntu-latest
env:
NEXT_PUBLIC_BASE_PATH: /planisphere
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion src/app/prefix.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const prefix = process.env.NEXT_PUBLIC_BASE_PATH || '';
const prefix = process.env.NEXT_PUBLIC_BASE_PATH || ""

export { prefix };

0 comments on commit d5a6b40

Please sign in to comment.