mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-25 09:27:21 +00:00
modified: server/index.ts
This commit is contained in:
parent
b6833f0432
commit
d1254106eb
1 changed files with 4 additions and 4 deletions
|
|
@ -19,10 +19,10 @@ app.get("/health", (_req, res) => {
|
||||||
res.json({ status: "healthy", timestamp: new Date().toISOString() });
|
res.json({ status: "healthy", timestamp: new Date().toISOString() });
|
||||||
});
|
});
|
||||||
|
|
||||||
// Root endpoint
|
// API status endpoint (moved from root to /api/status)
|
||||||
app.get("/", (_req, res) => {
|
app.get("/api/status", (_req, res) => {
|
||||||
res.json({
|
res.json({
|
||||||
status: "AeThex OS Kernel: ONLINE",
|
status: "AeThex OS Kernel: ONLINE",
|
||||||
version: "1.0.0",
|
version: "1.0.0",
|
||||||
endpoints: {
|
endpoints: {
|
||||||
link: "/api/os/link/*",
|
link: "/api/os/link/*",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue