mirror of
https://github.com/jung-geun/NFD2NFC.git
synced 2026-06-21 04:15:14 +09:00
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:
1
web/public/CNAME
Normal file
1
web/public/CNAME
Normal file
@@ -0,0 +1 @@
|
|||||||
|
nfd2nfc.pieroot.xyz
|
||||||
@@ -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'),
|
||||||
|
|||||||
Reference in New Issue
Block a user