jjak0b / express-service

Package ExpressJS server to run inside a ServiceWorker
https://jjak0b.github.io/express-service/dist/
0 stars 1 forks source link

Use proxy path for express.static starting from the scope path of the service worker #1

Closed jjak0b closed 3 years ago

jjak0b commented 3 years ago

Experimenting with github pages i noted that the service worker can only be registered at the minimum path of the repository. for example at https://jjak0b.github.io/express-service/ So any static content elaborated in express.static should be proxied starting from the scope path

jjak0b commented 3 years ago

Done in e92695b78116e8226357ef50e9e7dbde25cdfc48