-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update port number from 7701 to 10060
- Loading branch information
1 parent
eaf724a
commit e42936e
Showing
6 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
package config | ||
|
||
import "os" | ||
import ( | ||
"os" | ||
"path/filepath" | ||
) | ||
|
||
var basePath, _ = os.Getwd() | ||
var exePath, _ = os.Executable() | ||
var basePath = filepath.Dir(exePath) | ||
var LocalNotePath = basePath + "/data/notes/" | ||
var AppDataPath = basePath + "/data/vortexnotes/" | ||
var AppDbPath = AppDataPath + "app.db" | ||
var IndexPath = AppDataPath + "notes.bleve" | ||
|
||
const ApiHost = "0.0.0.0" | ||
const ApiPort = "7701" | ||
const ApiPort = "10060" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters