0

I have this GWT application that I placed within NodeJS/Express. The site loads, however, the CSS is not applied. When I open the HTML file separately in the browser, however, it does render the CSS correctly.

Any idea why this happen? Am I missing something?

EDIT:

Server: NodeJS with Express

Client: Web app - Compiled with GWT

Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265
quarks
  • 33,478
  • 73
  • 290
  • 513
  • I think you should provide, a little more information... WE ARE NOT GODS TO KNOW EVERYTHING! – Farid Nouri Neshat Nov 16 '11 at 16:17
  • @alFReDNSH Easy, sorry if my question lacks detail. I was hoping that someone have experienced hosting a GWT-compiled web app into Nodejs with Express. – quarks Nov 16 '11 at 18:19
  • BTW, what information are you looking for? I mean, the server is NodeJS with Express on it. Do you mean debug info? If so, I don't have that. – quarks Nov 16 '11 at 18:35

1 Answers1

0

The base URL is different when running locally versus running on the domain hosted by nodeJS. Try using an absolute path or adding an errorHandler to find the base URL.

Community
  • 1
  • 1
Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265