Skip to content

Commit 250e2e7

Browse files
committed
chore: redefine default port for the dev demo (3000 -> 3123)
1 parent 5d73c2b commit 250e2e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev-demo/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ if (fileURLToPath(import.meta.url) === path.resolve(process.argv[1])) {
224224

225225
initApi(app, admin);
226226

227-
const port = 3000;
227+
const port = 3123;
228228

229229
admin.bundleNow({ hotReload: process.env.NODE_ENV === 'development' }).then(() => {
230230
logger.info('Bundling AdminForth SPA done.');

dev-demo/resources/adminuser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export default {
116116
credentialMetaFieldName: "meta",
117117
credentialUserIdFieldName: "user_id",
118118
settings: {
119-
expectedOrigin: "http://localhost:3000",
119+
expectedOrigin: "http://localhost:3123",
120120
rp: {
121121
name: "New Reality",
122122
},

0 commit comments

Comments
 (0)