[Ur] Serving javascript files to the outside
Edward Z. Yang
ezyang at MIT.EDU
Wed Feb 27 04:13:19 EST 2013
The Ur/Web server doesn't support serving static files, so you'll
need to point it at some external server, or do some htaccess trickery.
Edward
Excerpts from Istvan Chung's message of Tue Feb 26 19:29:13 -0800 2013:
> I'm having trouble with the Javascript FFI, because the server doesn't
> serve the javascript files which the client requires to actually run the
> code. For example, if I put [script something.js] in my .urp file, the
> compiler will generate an automatic tag <script type="text/javascript"
> src="something.js"></script> — which will fail because something.js is
> not served in the same directory, nor is it found at "/something.js", or
> anywhere else I can find. How do I get the server to expose this file?
>
More information about the Ur
mailing list