fix(web): custom domain 대응 — base '/' 변경 및 CNAME 추가

Vite base를 '/NFD2NFC/'에서 '/'로 변경하고 web/public/CNAME을 추가해
nfd2nfc.pieroot.xyz에서 자산 404 및 배포 후 custom domain 초기화 문제를 수정한다.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-12 18:49:48 +09:00
parent 6f44af3e4f
commit 17a7a617fd
2 changed files with 2 additions and 1 deletions

1
web/public/CNAME Normal file
View File

@@ -0,0 +1 @@
nfd2nfc.pieroot.xyz

View File

@@ -4,7 +4,7 @@ import { resolve } from 'path';
export default defineConfig({ export default defineConfig({
root: __dirname, root: __dirname,
base: '/NFD2NFC/', base: '/',
plugins: [react()], plugins: [react()],
build: { build: {
outDir: resolve(__dirname, '../dist-web'), outDir: resolve(__dirname, '../dist-web'),