From ec15eaf2afd8f86cb8c8ed61261f24b3b7fe9a9e Mon Sep 17 00:00:00 2001 From: FruitRiin Date: Sun, 19 Nov 2023 19:39:36 +0900 Subject: [PATCH] favicon --- packages/frontend/vite.config.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index ee96c50128..d78bc52109 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -44,7 +44,6 @@ function toBase62(n: number): string { export function getConfig(): UserConfig { return { root: "src", - publicDir: "assets", server: { port: 5173, proxy: { @@ -60,9 +59,7 @@ export function getConfig(): UserConfig { target: 'ws://127.0.0.1:3000/', ws: true, }, - "favicon.ico": 'http://127.0.0.1:3000/', - "client-assets": "http://127.0.0.1:3000/" - + "/favicon.ico": 'http://127.0.0.1:3000/', } }, @@ -89,7 +86,7 @@ export function getConfig(): UserConfig { extensions, alias: { '@/': __dirname + '/src/', - '/client-assets/': __dirname + '/assets/', + '/client-assets/': __dirname + '/client-assets/', '/static-assets/': __dirname + '/../backend/assets/', '/fluent-emojis/': __dirname + '/../../fluent-emojis/dist/', '/fluent-emoji/': __dirname + '/../../fluent-emojis/dist/',