pygame-web / pygbag

python and pygame wasm for everyone ( packager + test server + simulator )
https://github.com/pygame-web
MIT License
295 stars 34 forks source link

Update testserver.py IF self.path.endswith(".html") #117

Closed andreagalle closed 9 months ago

andreagalle commented 9 months ago

Not to skip anytime this branch in the IF/ELIF statemements. This issue (that is a bug) was casing not properly setting for example the CORS response headers, causing issues retrieving *.js resources as reported here: https://github.com/pygame-web/pkg-porting-wasm/issues/3#issuecomment-1734631597