mirror of https://github.com/JustKato/FreePad.git
* Verbose
This commit is contained in:
parent
b9716c87ed
commit
b079c0f637
2
main.go
2
main.go
|
@ -12,7 +12,7 @@ import (
|
||||||
func main() {
|
func main() {
|
||||||
|
|
||||||
// Load environment variables, ignore if any errors come up
|
// Load environment variables, ignore if any errors come up
|
||||||
godotenv.Load()
|
_ = godotenv.Load()
|
||||||
|
|
||||||
dm, isDevelopment := os.LookupEnv("DEV_MODE")
|
dm, isDevelopment := os.LookupEnv("DEV_MODE")
|
||||||
if !isDevelopment && dm == "0" {
|
if !isDevelopment && dm == "0" {
|
||||||
|
|
Loading…
Reference in New Issue