From 11855f1a215832eef2e80d483d2b5e8240d78d30 Mon Sep 17 00:00:00 2001 From: thehrz Date: Fri, 11 Aug 2023 11:54:42 +0800 Subject: [PATCH] chore: update nginx config --- nginx/conf.d/default.conf | 2 +- nginx/conf.d/www.conf | 1 + src/components.d.ts | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/conf.d/default.conf b/nginx/conf.d/default.conf index 96aba84..f24652b 100644 --- a/nginx/conf.d/default.conf +++ b/nginx/conf.d/default.conf @@ -1,6 +1,6 @@ server { listen 80; - listen [::]:80 default_server http2; + listen [::]:80; return 444; } \ No newline at end of file diff --git a/nginx/conf.d/www.conf b/nginx/conf.d/www.conf index 2bee6aa..a5acb01 100644 --- a/nginx/conf.d/www.conf +++ b/nginx/conf.d/www.conf @@ -14,6 +14,7 @@ server { location / { root /usr/local/nginx/html/; + index index.html; try_files $uri $uri/ /index.html; } } \ No newline at end of file diff --git a/src/components.d.ts b/src/components.d.ts index 483fb29..2cfd9e9 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -20,7 +20,6 @@ declare module 'vue' { VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel'] VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels'] VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText'] - VIcon: typeof import('vuetify/components')['VIcon'] VImg: typeof import('vuetify/components')['VImg'] VList: typeof import('vuetify/components')['VList'] VListItem: typeof import('vuetify/components')['VListItem']