Allow using acot.site to access

This commit is contained in:
2025-09-30 22:51:36 -04:00
parent c6e4fc9cff
commit 945e4a8cc3
9 changed files with 121 additions and 27 deletions

View File

@@ -35,7 +35,7 @@ global.pool = pool;
app.use(express.json());
app.use(morgan('combined'));
app.use(cors({
origin: ['http://localhost:5175', 'http://localhost:5174', 'https://inventory.kent.pw'],
origin: ['http://localhost:5175', 'http://localhost:5174', 'https://inventory.kent.pw', 'https://acot.site'],
credentials: true
}));