diff options
author | 2009-03-10 11:18:01 -0400 | |
---|---|---|
committer | 2009-03-10 11:18:01 -0400 | |
commit | a8f3cc9e254122906318531ef39b5cae89829ef4 (patch) | |
tree | 99e4bdad36025df9b3bd37c782f9dd36f052307a /src/cjr_print.sml | |
parent | 5646b9630eb86f0d4f393dce6b7fc76cea87421f (diff) |
React demo
Diffstat (limited to 'src/cjr_print.sml')
-rw-r--r-- | src/cjr_print.sml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cjr_print.sml b/src/cjr_print.sml index ab808426..4b6a56db 100644 --- a/src/cjr_print.sml +++ b/src/cjr_print.sml @@ -2349,7 +2349,10 @@ fun p_file env (ds, ps) = newline, string "uw_set_script_header(ctx, \"", string (case side of - ServerAndClient => "<script src=\\\"/app.js\\\"></script>\\n" + ServerAndClient => "<script src=\\\"" + ^ OS.Path.joinDirFile {dir = !Monoize.urlPrefix, + file = "app.js"} + ^ "\\\"></script>\\n" | ServerOnly => ""), string "\");", newline]), |