File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 - name : Build documentation artifacts
3333 env :
3434 GTAG : ${{ secrets.GTAG }}
35+ BASE_PATH : ' /jsar-runtime/'
3536 run : |
3637 npm run build:website
3738
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { buildStart } from './build-hooks.mjs'
44import taskCheckbox from 'markdown-it-task-checkbox'
55
66export default defineConfig ( {
7- base : '/jsar-runtime /',
7+ base : process . env . BASE_PATH || ' /',
88 vite : {
99 resolve : {
1010 alias : [
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ export default {
134134 try {
135135 this .loading = true ;
136136 // Load the fixtures data JSON from public directory with correct base path
137- const response = await fetch (' /jsar-runtime/ fixtures-summary.json' );
137+ const response = await fetch (' fixtures-summary.json' );
138138 if (! response .ok ) {
139139 throw new Error (` HTTP ${ response .status } : ${ response .statusText } ` );
140140 }
You can’t perform that action at this time.
0 commit comments