Normalize admin routes and docker config

This commit is contained in:
Lectom C Han
2026-02-04 12:40:02 +09:00
parent bf86b1d1e7
commit 410b2b7b48
30 changed files with 467 additions and 231 deletions

View File

@@ -102,7 +102,7 @@ userGrid
document.getElementById('detailCard').style.display = 'block'
// 하단 사용자 로드
// fetch(`/kngil/bbs/adm.php?action=user_list&member_id=${record.member_id}`)
// fetch(`/admin/api/super?action=user_list&member_id=${record.member_id}`)
// .then(res => res.json())
// .then(d => {
// if (d.status !== 'success') {
@@ -243,7 +243,7 @@ function formatBizNo(value) {
상단 회사 목록 로드
---------------------------------------- */
function loadCompanies() {
fetch('/kngil/bbs/adm.php')
fetch('/admin/api/super')
.then(res => res.json())
.then(json => {
if (!json.records) return
@@ -340,7 +340,7 @@ export function bindSaveButton() {
return
}
fetch('/kngil/bbs/adm.php?action=save', {
fetch('/admin/api/super?action=save', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({