Skip to content

Commit

Permalink
Fix WASM path
Browse files Browse the repository at this point in the history
  • Loading branch information
yuraj11 committed Jan 16, 2024
1 parent 37b67f3 commit 0603e6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ <h4 class="mb-0">SQLite Viewer</h4>
<script src="js/mindmup-editabletable.js"></script>
<script src="js/jszip.min.js"></script>
<script src="js/FileSaver.min.js"></script>
<script src="js/main.js?v=13"></script>
<script src="js/main.js?v=14"></script>

</body>
</html>
2 changes: 1 addition & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function loadDB(arrayBuffer) {

resetTableList();

initSqlJs({ locateFile: file => `/js/${file}` }).then(function(SQL){
initSqlJs({ locateFile: file => `${file}` }).then(function(SQL){
let tables;
try {
db = new SQL.Database(new Uint8Array(arrayBuffer));
Expand Down

0 comments on commit 0603e6d

Please sign in to comment.