Moved to cdn.nicecock.eu again. Welcome back
continuous-integration/drone/push Build is passing Details

This commit is contained in:
DutchEllie 2022-05-16 10:43:01 +02:00
parent e4d3313e44
commit d830404b06
Signed by: DutchEllie
SSH Key Fingerprint: SHA256:dKq6ZSgN5E3Viqrw/+xAdf2VdR6hdRGNyrYqXXwfjTY
2 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ func (app *application) sendPepe(s *discordgo.Session, m *discordgo.MessageCreat
} }
func (app *application) sendCringe(s *discordgo.Session, m *discordgo.MessageCreate) { func (app *application) sendCringe(s *discordgo.Session, m *discordgo.MessageCreate) {
_, err := s.ChannelMessageSend(m.ChannelID, "https://cdn.home.dutchellie.nl/cringe.webm") _, err := s.ChannelMessageSend(m.ChannelID, "https://cdn.nicecock.eu/cringe.webm")
if err != nil { if err != nil {
app.errorLog.Print(err) app.errorLog.Print(err)
return return
@ -94,7 +94,7 @@ func (app *application) sendTuesday(s *discordgo.Session, m *discordgo.MessageCr
} }
return return
} }
_, err := s.ChannelMessageSend(m.ChannelID, "https://cdn.home.dutchellie.nl/TBT.webm") _, err := s.ChannelMessageSend(m.ChannelID, "https://cdn.nicecock.eu/TBT.webm")
if err != nil { if err != nil {
app.errorLog.Print(err) app.errorLog.Print(err)
return return

View File

@ -59,7 +59,7 @@ func (app *application) sendPepe(w http.ResponseWriter, r *http.Request) {
rd := rand.New(s) // Init pseudorandom generator rd := rand.New(s) // Init pseudorandom generator
number := rd.Intn(len(app.pepe_list)) number := rd.Intn(len(app.pepe_list))
baseURL := "https://cdn.home.dutchellie.nl/pepe/1.00/" baseURL := "https://cdn.nicecock.eu/pepe/1.00/"
URL := baseURL + app.pepe_list[number] URL := baseURL + app.pepe_list[number]
w.Write([]byte(URL)) w.Write([]byte(URL))