diff --git a/api/main.go b/api/main.go index 652eb9d..bb4886c 100644 --- a/api/main.go +++ b/api/main.go @@ -73,7 +73,7 @@ func init() { db.AutoMigrate(&BannedTrack{}) // Load Banned Words - bannedWordsFile, err := os.Open("../resources/banned/words.txt") + bannedWordsFile, err := os.Open("templates/banned-words.txt") if err != nil { panic(err) } @@ -94,7 +94,7 @@ func init() { } // Load Banned Tracks - bannedTracksFile, err := os.Open("../resources/banned/tracks.txt") + bannedTracksFile, err := os.Open("templates/banned-tracks.txt") if err != nil { panic(err) } diff --git a/api/templates/banned-tracks.txt b/api/templates/banned-tracks.txt new file mode 100644 index 0000000..45d5da2 --- /dev/null +++ b/api/templates/banned-tracks.txt @@ -0,0 +1 @@ +spotify:track:6rsoBvxrlxdmqJyGPPciyq \ No newline at end of file diff --git a/api/templates/banned-words.txt b/api/templates/banned-words.txt new file mode 100644 index 0000000..fd45209 --- /dev/null +++ b/api/templates/banned-words.txt @@ -0,0 +1,5 @@ +fart +cum +ram ranch +orgasm +beats by talent \ No newline at end of file