The file is https://github.com/gwtproject/gwt/blob/main/dev/codeserver/java/com/google/gwt/dev/codeserver/stub.nocache.js and as you can see your only option would be to replace the file (try copying it into your source tree at the very same location) as the logic cannot be configured.
Otherwise you might be able to use a browser plugin like requestly which allows you to redirect HTTP calls transparently. https://docs.requestly.com/general/http-rules/rule-types/redirect-rule -- J. [email protected] schrieb am Donnerstag, 11. Dezember 2025 um 13:38:09 UTC+1: > Hi, > I am testing Github codespaces IDE and check if I can use it and if it > works with GWT setup. I use gwt-maven-archetypes 'modular-webapp'. I > start codeserver then jetty server. The problem is in Github codespaces > codeserver is accessible at a URL that is different from the default. > Example: > Codeserver URL: https://example-app-some-random-string-9876.app.github.dev > > Jetty container URL: > https://example-app-some-random-string-8080.app.github.dev > > So the problem app.nocache.js generates nocacheUrl as ' > https://example-app-some-random-string-8080.app.github.dev:9876' where it > should be 'https://example-app-some-random-string-9876.app.github.dev' > > Is there a way I cam make app.nocache.js generate the desired URL? > > Thanks > > > > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/5de55b27-db71-455a-9d60-2568ae4f12cdn%40googlegroups.com.
