mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
parent
2d3ab67604
commit
ffa2447c59
5 changed files with 8 additions and 8 deletions
|
@ -8,9 +8,9 @@ host = "127.0.0.1"
|
|||
|
||||
# Port
|
||||
#
|
||||
# Default: 8989
|
||||
# Default: 7474
|
||||
#
|
||||
port = 8989
|
||||
port = 7474
|
||||
|
||||
# Base url
|
||||
# Set custom baseUrl eg /autobrr/ to serve in subdirectory.
|
||||
|
|
|
@ -7,5 +7,5 @@ services:
|
|||
volumes:
|
||||
- ./config:/config
|
||||
ports:
|
||||
- 8989:8989
|
||||
- "7474:7474"
|
||||
restart: unless-stopped
|
|
@ -17,7 +17,7 @@ var Config domain.Config
|
|||
func Defaults() domain.Config {
|
||||
return domain.Config{
|
||||
Host: "localhost",
|
||||
Port: 8989,
|
||||
Port: 7474,
|
||||
LogLevel: "TRACE",
|
||||
LogPath: "",
|
||||
BaseURL: "/",
|
||||
|
@ -59,9 +59,9 @@ host = "127.0.0.1"
|
|||
|
||||
# Port
|
||||
#
|
||||
# Default: 8989
|
||||
# Default: 7474
|
||||
#
|
||||
port = 8989
|
||||
port = 7474
|
||||
|
||||
# Base url
|
||||
# Set custom baseUrl eg /autobrr/ to serve in subdirectory.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "web",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"proxy": "http://127.0.0.1:8989",
|
||||
"proxy": "http://127.0.0.1:7474",
|
||||
"homepage": ".",
|
||||
"dependencies": {
|
||||
"@fontsource/inter": "^4.5.4",
|
||||
|
|
|
@ -26,7 +26,7 @@ export function baseUrl() {
|
|||
// get sseBaseUrl for SSE
|
||||
export function sseBaseUrl() {
|
||||
if (process.env.NODE_ENV === "development")
|
||||
return `http://localhost:8989/`;
|
||||
return `http://localhost:7474/`;
|
||||
|
||||
return `${window.location.origin}${baseUrl()}`;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue