fix hastebin doamin

This commit is contained in:
lyx0 2023-12-03 16:01:41 +01:00
parent efa4ea87a0
commit 7da57dd655

View file

@ -13,7 +13,7 @@ import (
// this whole function was pretty much yoinked from here
// https://github.com/zneix/haste-client/blob/master/main.go <3
func (app *application) uploadPaste(text string) (string, error) {
const hasteURL = "https://haste.noury.cc"
const hasteURL = "https://haste.dank.pw"
const apiRoute = "/documents"
var httpClient = &http.Client{Timeout: 10 * time.Second}