Repository navigation
Commit 7d6d8cd
committed
Move the admin panel to the repository root
The host publishes this repository into the document root. The panel sat at
public_html/admin.niteshacars.in/admin/, so it was published to
docroot/public_html/admin.niteshacars.in/admin/ -- a path nothing serves.
That is why niteshacars.in/admin returned the site's own 404 no matter which
pipeline was used to put it there; the pipelines were never the problem.
At the repository root it publishes to docroot/admin/, which is the URL.
Every reference moves with it: the gitignore entry for config.php, the
content-defaults pairing that fetch-content.mjs checks, copy-admin-panel.mjs,
the two FTP workflows and the README. public_html/ stays -- it still holds
the site's vehicle photographs and the old asset-manifest.json, and those
are published where they already are.
Verified: the build runs from a clean dist and produces dist/admin, the
panel's PHP still parses, and the check that the panel's content-defaults
match the site's still passes.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0128YzbhrfGdegUSc9RrARRf1 parent f3d7f31 commit 7d6d8cd
59 files changed
Lines changed: 8 additions & 8 deletions
File tree
- .github/workflows
- admin
- api
- sql
- src
- tools
- my-app
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments