Skip to content

Commit 146eda5

Browse files
committed
fix: default api values
1 parent 95a1130 commit 146eda5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Default Puter's API
2-
PUTER_API_BASE='https://api.puter.com'
3-
PUTER_BASE_URL='https://puter.com'
2+
PUTER_API_BASE='http://api.puter.localhost:4100'
3+
PUTER_BASE_URL='http://puter.localhost:4100'

src/commons.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ dotenv.config();
1010

1111
export const PROJECT_NAME = 'puter-cli';
1212
// If you haven't defined your own values in .env file, we'll assume you're running Puter on a local instance:
13-
export const API_BASE = process.env.PUTER_API_BASE || 'http://api.puter.localhost:4100';
14-
export const BASE_URL = process.env.PUTER_BASE_URL || 'http://puter.localhost:4100';
13+
export const API_BASE = process.env.PUTER_API_BASE || 'https://api.puter.com';
14+
export const BASE_URL = process.env.PUTER_BASE_URL || 'https://puter.com';
1515

1616
/**
1717
* Get headers with the correct Content-Type for multipart form data.

0 commit comments

Comments
 (0)