이름: 남아 있던 o2oSite 식별자를 web4ai 로 맞춘다
서버 이름(O2oSiteServer)과 orval 생성 그룹 키(o2oSite)가 옛 이름 그대로였다. ★ localStorage 키(`o2osite.builder.wizard.v*`)는 바꾸지 않는다. 그건 우리가 정하는 이름이 아니라 **이미 사용자 브라우저에 들어가 있는 옛 저장분의 이름**이라, 바꾸면 지워야 할 것을 못 지운다. 왜 그대로 두는지 주석으로 남겼다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019uYhHQdssRubirPirrdJJC
This commit is contained in:
parent
08a95e2bd7
commit
0c0f4c8088
@ -2,7 +2,7 @@
|
||||
# 실제 config.local.toml 은 시크릿 포함이라 커밋하지 않는다(.gitignore: *.toml).
|
||||
# 모든 서버는 APP_ENV=local 로 띄우며 이 파일을 읽는다.
|
||||
[WebServerConfig]
|
||||
server_name = "O2oSiteServer"
|
||||
server_name = "Web4aiServer"
|
||||
port = 9800
|
||||
process_count = 1
|
||||
is_ssl = false
|
||||
|
||||
@ -13,7 +13,7 @@ import {defineConfig} from 'orval';
|
||||
* ORVAL_INPUT=../../backend/openapi.json npm run orval
|
||||
*/
|
||||
export default defineConfig({
|
||||
o2oSite: {
|
||||
web4ai: {
|
||||
input: {
|
||||
target: process.env.ORVAL_INPUT ?? 'http://localhost:9800/openapi.json',
|
||||
},
|
||||
|
||||
@ -258,6 +258,8 @@ function seedFor(industry: IndustryType) {
|
||||
*
|
||||
* 옛 저장분은 여기서 지운다 — 이미 사용자 브라우저에 들어가 있기 때문이다.
|
||||
*/
|
||||
// ★ 프로젝트 이름이 web4ai 로 바뀌어도 이 키는 그대로 둔다 — 이미 사용자 브라우저에
|
||||
// 들어가 있는 **옛 저장분의 이름**이라, 바꾸면 지워야 할 것을 못 지운다.
|
||||
for (const key of ['o2osite.builder.wizard.v1', 'o2osite.builder.wizard.v2']) {
|
||||
try {
|
||||
localStorage.removeItem(key);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user