-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sql-wasm.wasm not found on Angular PWA when hosting not on server root path #309
Comments
@hschindler i assume that you have an index.html at |
Thanks for the fast response. |
For now, I have solved it with a "rewrite rule" in IIS. A solution that makes it possible without a "rewrite rule" would be desirable. |
@hschindler This has been fixed in jeep-sqlite@1.5.7 |
@hschindler in your app do
check the package.json file of the node_modules/jeep-sqlite it should be 1.5.7 |
@hschindler Did you test it? |
@jepiqueau. I tried and db open was successful but I have "Error: queryAll: no such table" on my query. Localhost working with the same query and table name but my hosting no working. (I´m use db file in my assets) |
@EMTmcruz i assume you work with @hschindler the database does not work directly from the assets use copyFromAssets method and the open a connection to the database and do the query. You should look at the doc and app staters |
@jepiqueau with jeep-sqlite version 1.5.7 and the wasmPath attribute it works. Thanks for help. |
@hschindler you are welcome |
My Anguar PWA ist hosted on https://server/sub-dir.
I had copied the file sql-wasm.wasm to assets. The PWA-App on Web Browser looking for it at url https://server/assets and not at the expected url https://server/sub-dir/assets.
How can I config this?
The text was updated successfully, but these errors were encountered: