cinny/contrib/nginx
夜坂雅 c6a8fb1117
Some checks are pending
Deploy to Netlify (dev) / Deploy to Netlify (push) Waiting to run
Add authenticated media support (#1930)
* chore: Bump matrix-js-sdk to 34.4.0

* feat: Authenticated media support

* chore: Use Vite PWA for service worker support

* fix: Fix Vite PWA SW entry point

Forget this. :P

* fix: Also add Nginx rewrite for sw.js

* fix: Correct Nginx rewrite

* fix: Add Netlify redirect for sw.js

Otherwise the generic SPA rewrite to index.html would take effect, breaking Service Worker.

* fix: Account for subpath when regisering service worker

* chore: Correct types
2024-09-07 19:15:55 +05:30
..
cinny.domain.tld.conf Add authenticated media support (#1930) 2024-09-07 19:15:55 +05:30
README.md ensure new mime type comes in types. 2021-08-03 19:07:22 +02:00

nginx configuration

Insert wasm type into nginx mime.types file so they load correctly.

/etc/nginx/mime.types:

types {
..
    application/wasm                      wasm;
..
}