Skip to content

Commit 05710ec

Browse files
committed
refactor(config): Update API and webhook URLs
Update .env.example files with new API and webhook URLs. Refactor next.config.js for base path configuration.
1 parent 506239c commit 05710ec

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

backend/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Telegram
22
BOT_TOKEN=your_bot_token_here
3-
WEBHOOK_URL=https://yourname.pythonanywhere.com/webhook
3+
WEBHOOK_URL=https://subix.k.jrnm.app/webhook
44

55
# JWT
66
SECRET_KEY=change_this_to_random_64_char_string

frontend/.env.local.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
NEXT_PUBLIC_API_URL=https://yourname.pythonanywhere.com
1+
NEXT_PUBLIC_API_URL=https://subix.k.jrnm.app

frontend/next.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ const nextConfig = {
33
output: "export",
44
trailingSlash: true,
55
images: { unoptimized: true },
6-
// Set basePath if deploying to /repo-name on GitHub Pages
7-
// basePath: "/subix",
6+
basePath: "/Subix",
87
};
98

109
module.exports = nextConfig;

0 commit comments

Comments
 (0)