mirror of
https://github.com/JustKato/FreePad.git
synced 2026-02-23 15:50:46 +02:00
* Verbose
This commit is contained in:
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" {
|
||||||
|
|||||||
Reference in New Issue
Block a user