File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 3
3
< head >
4
4
< meta charset ="utf8 ">
5
5
< title > Persistent sqlite</ title >
6
- < script src ="/dist/sql-wasm.js "> </ script >
6
+ < script src =".. /dist/sql-wasm.js "> </ script >
7
7
</ head >
8
8
< body >
9
9
< p > You have seen this page < span id ="views "> 0</ span > times.</ p >
10
10
< div >
11
11
You have been here on the following dates: < ol id ="dates "> </ ol >
12
12
</ div >
13
13
< script >
14
+ var baseUrl = '../dist/' ;
14
15
15
16
function toBinArray ( str ) {
16
17
var l = str . length ,
Original file line number Diff line number Diff line change 3
3
< script src ='http://requirejs.org/docs/release/2.3.6/minified/require.js '> </ script >
4
4
5
5
< script >
6
- var baseUrl = '/dist'
6
+ var baseUrl = '.. /dist'
7
7
require . config ( {
8
8
baseUrl : baseUrl
9
9
} ) ;
Original file line number Diff line number Diff line change 1
1
< meta charset ="utf8 " />
2
2
< html >
3
- < script src ='/dist/sql-wasm-debug.js '> </ script >
3
+ < script src ='../.. /dist/sql-wasm-debug.js '> </ script >
4
4
< script >
5
5
config = {
6
6
locateFile : ( filename , prefix ) => {
7
7
console . log ( `prefix is : ${ prefix } ` ) ;
8
- return `/dist/${ filename } ` ;
8
+ return `../.. /dist/${ filename } ` ;
9
9
}
10
10
}
11
11
// The `initSqlJs` function is globally provided by all of the main dist files if loaded in the browser.
You can’t perform that action at this time.
0 commit comments