GWT project using Github codespaces

21 views
Skip to first unread message

jamal....@gmail.com

unread,
7:38 AM (10 hours ago) 7:38 AM
to GWT Users
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 


Is there a way I cam make  app.nocache.js generate the desired URL?

Thanks


 

Jens

unread,
4:46 PM (1 hour ago) 4:46 PM
to GWT Users
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.


-- J.
Reply all
Reply to author
Forward
0 new messages