mirror of
https://github.com/JuLi0n21/pwa-player.git
synced 2026-04-19 15:30:05 +00:00
basic oauth validation added
This commit is contained in:
@@ -8,11 +8,12 @@ import (
|
||||
|
||||
func main() {
|
||||
|
||||
if ok := godotenv.Load(); ok != nil {
|
||||
if ok := godotenv.Load(".env"); ok != nil {
|
||||
panic(".env not found")
|
||||
}
|
||||
|
||||
InitDB()
|
||||
|
||||
err := run()
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
|
||||
Reference in New Issue
Block a user