Skip to content

Commit 5faaf6f

Browse files
committed
fix: remove sensitive data references from build specifications and update API base URL
1 parent acd4895 commit 5faaf6f

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

.github/workflows/python-package.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ jobs:
4343
pyinstaller --noconfirm --onefile --uac-admin --icon "frontend/public/favicon.ico" `
4444
--paths "venv/Lib/site-packages" `
4545
--add-data "backend;." `
46-
--add-data "backend/.env;." `
47-
--add-data "frontend/out;static" `
4846
--add-data "venv/Lib/site-packages/fake_useragent/data;fake_useragent/data" `
4947
--add-data "venv/Lib/site-packages/fake_useragent;fake_useragent" `
5048
--add-data "venv/Lib/site-packages/streamlink;streamlink" `

KickViewerBOT-macOS.spec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ a = Analysis(
3939
binaries=tls_client_binaries,
4040
datas=[
4141
('backend', '.'),
42-
('backend/.env', '.'),
4342
('frontend/out', 'static'),
4443
(os.path.join(site_packages, 'fake_useragent', 'data'), 'fake_useragent/data'),
4544
(os.path.join(site_packages, 'fake_useragent'), 'fake_useragent'),

KickViewerBOT.spec

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ site_packages = site.getsitepackages()[0]
2929
# Build data list with existence checks
3030
datas = [
3131
('backend', '.'),
32-
('backend/.env', '.'),
33-
('frontend/out', 'static'),
3432
]
3533

3634
# Add site-packages dependencies with existence checks

frontend/app/functions/UserAPI.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { RegisterData, LoginData } from "../types/User";
33
import useSWR from "swr";
44

55
const API_BASE_URL =
6-
process.env.NEXT_PUBLIC_API_BASE_URL ?? "http://localhost:3000";
6+
process.env.NEXT_PUBLIC_API_BASE_URL ?? "https://api.velbots.shop";
77

88
export interface SubscriptionStatus {
99
isSubscribed: boolean;

0 commit comments

Comments
 (0)