diff --git a/nginx/nginx.conf.template b/nginx/nginx.conf.template index 3524a0a..e62e05b 100644 --- a/nginx/nginx.conf.template +++ b/nginx/nginx.conf.template @@ -118,6 +118,13 @@ http { location = /img/stamps/mine.gif { add_header Access-Control-Allow-Origin *; + expires 7d; + add_header Cache-Control "public"; + } + + location /sound/ { + expires 7d; + add_header Cache-Control "public"; } location $BACKEND_ENDPOINT { diff --git a/vue/index.html b/vue/index.html index c7760ba..0475a2e 100644 --- a/vue/index.html +++ b/vue/index.html @@ -3,7 +3,10 @@ + AF + + diff --git a/vue/src/components/util/Chat.vue b/vue/src/components/util/Chat.vue index 4289257..eb2c847 100644 --- a/vue/src/components/util/Chat.vue +++ b/vue/src/components/util/Chat.vue @@ -152,6 +152,7 @@ onUnmounted(() => { Uploaded image @@ -170,7 +171,7 @@ onUnmounted(() => {
- +
- +
diff --git a/vue/src/components/util/Radio.vue b/vue/src/components/util/Radio.vue index 38e9ebf..d441523 100644 --- a/vue/src/components/util/Radio.vue +++ b/vue/src/components/util/Radio.vue @@ -1,12 +1,12 @@