mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-24 06:49:02 +00:00
Serve .mjs files as text/javascript (#761)
This commit is contained in:
parent
f5520209f5
commit
da7c8c7b54
2 changed files with 1 additions and 1 deletions
|
@ -62,6 +62,7 @@ static const struct ContentTypeExtension {
|
|||
{"md", "text/plain"}, //
|
||||
{"mid", "audio/midi"}, //
|
||||
{"midi", "audio/midi"}, //
|
||||
{"mjs", "text/javascript"}, //
|
||||
{"mp2", "audio/mpeg"}, //
|
||||
{"mp3", "audio/mpeg"}, //
|
||||
{"mp4", "video/mp4"}, //
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
if IsDaemon() then
|
||||
ProgramPort(443)
|
||||
ProgramUid(65534)
|
||||
ProgramUid(65534)
|
||||
ProgramLogPath('/var/log/turfbean.log')
|
||||
ProgramPidPath('/var/log/turfbean.pid')
|
||||
ProgramTrustedIp(ParseIp(Slurp('/etc/justine-ip.txt')), 32);
|
||||
|
|
Loading…
Add table
Reference in a new issue