add vo.codes to CORS allow hosts

This commit is contained in:
Brandon Thomas committed 2020-06-14 17:25:23 -04:00
1 parent 0281e206db
commit 42f51ecd18
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ spec:
# LSpeech model that sounds 100% amazing
# image: docker.pkg.github.com/echelon/voder/tts-service:6b5c22567614
#
image: docker.pkg.github.com/ml-applications/voder/tts-service:078f2183b13e
image: docker.pkg.github.com/ml-applications/voder/tts-service:0281e206db16
resources:
limits:
# 4 GiB (4096 MiB)
+4
View File
@@ -203,6 +203,10 @@ async fn run_server(app_state: AppState, server_args: ServerArgs) -> std::io::Re
.allowed_origin("https://mumble.stream")
.allowed_origin("http://trumped.com")
.allowed_origin("https://trumped.com")
.allowed_origin("http://vo.codes")
.allowed_origin("https://vo.codes")
.allowed_origin("http://vocodes.com")
.allowed_origin("https://vocodes.com")
.allowed_methods(vec!["GET", "POST", "OPTIONS"])
.allowed_headers(vec![
http::header::ACCEPT,