mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2025-05-14 05:52:54 +00:00
refactor: use existing PreventSurroundingPre
This commit is contained in:
parent
10e7c89e96
commit
c0df07abad
6 changed files with 26 additions and 15 deletions
3
env/checks.go
vendored
3
env/checks.go
vendored
|
@ -3,9 +3,12 @@ package env
|
|||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/joho/godotenv"
|
||||
)
|
||||
|
||||
func RunChecks() {
|
||||
godotenv.Load(".env")
|
||||
checkEnv("APP_URL")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue