Skip to content

Commit 44c5a1f

Browse files
committed
refactor: relocate view components to src/views and update import paths
1 parent 7f3315d commit 44c5a1f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

demo/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"bucket": "demo-bucket",
2+
"bucket": "2025-12-20",
33
"accessKeyId": "135b46a7ebe62a798198865c64eee178",
44
"secretAccessKey": "3ae633898d81a7aeb0ce1179a92095ab836bb3a60f601cdd43d4e2b6b6152646",
55
"endpoint": "https://fb81cb0efe496349aa882e65d6704c6f.r2.cloudflarestorage.com",
66
"sourceDir": "./data",
7-
"prefix": "backups/",
7+
"prefix": "",
88
"extensions": [
99
".json"
1010
],

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import { join, relative, dirname } from 'node:path'
1212
import { html } from '@elysiajs/html'
1313

1414
// Import page components
15-
import { LoginPage } from '../views/LoginPage.js'
16-
import { DashboardPage } from '../views/DashboardPage.js'
15+
import { LoginPage } from './views/LoginPage.js'
16+
import { DashboardPage } from './views/DashboardPage.js'
1717

1818
// Session Management
1919
const sessions = new Map()

0 commit comments

Comments
 (0)