Serve Piper worker with JavaScript MIME type
Build and publish frontend / publish (push) Successful in 51s
Build and publish frontend / publish (push) Successful in 51s
This commit is contained in:
+4
-1
@@ -10,7 +10,10 @@ server {
|
||||
}
|
||||
|
||||
location ^~ /tts/piper-wasm-v1/ {
|
||||
types { application/wasm wasm; }
|
||||
types {
|
||||
application/wasm wasm;
|
||||
application/javascript js;
|
||||
}
|
||||
add_header Cache-Control "public, max-age=31536000, immutable" always;
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user