Skip to content

Commit ad4ceef

Browse files
committed
fix: Removed city from path handler
1 parent 0f4eef8 commit ad4ceef

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/models/server.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ type Server struct {
66
Name string `json:"name"`
77
Type string `json:"type"`
88
IPAddress string `json:"ip_address"`
9-
City string `json:"-"`
109
ControlPort string `json:"control_port"`
1110
UserID string `json:"-"`
1211
CreatedAt string `json:"-"`

internal/constants/index.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const (
77
EXTENSIONS_PATH = LIMAN_PATH + "/extensions"
88
FUNCTIONS_FILE_PATH = "/views/functions.php"
99
EXTENSION_PUBLIC_PATH = "%s/eklenti/%s/public/"
10-
NAVIGATION_ROUTE = "/l/%s/%s/%s"
10+
NAVIGATION_ROUTE = "/l/%s/%s"
1111
SANDBOX_PATH = LIMAN_PATH + "/sandbox/php/index.php"
1212
KEYS_PATH = LIMAN_PATH + "/keys"
1313
CERT_PATH = LIMAN_PATH + "/certs"

0 commit comments

Comments
 (0)