Compare commits

..

No commits in common. "8db4d463adac2e99661d557a4a1f7d7a70a130c7" and "1d2ea468b60e08f1ee50e88abe3a4317c8d797cb" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View file

@ -3,6 +3,6 @@ nft.nulo.in:
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' . CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' .
upload: nft.nulo.in upload: nft.nulo.in
ssh -p993 root@nulo.in sv stop nftmashin ssh root@nulo.in/993 sv stop nftmashin
scp -r -P993 nft.nulo.in templates assets nftmashin@nulo.in:/home/nftmashin/ scp -r -P993 nft.nulo.in templates assets nftmashin@nulo.in:/home/nftmashin/
ssh -p993 root@nulo.in sv start nftmashin ssh root@nulo.in/993 sv start nftmashin

View file

@ -68,7 +68,6 @@ func GetAssets() (Assets, error) {
return assets, err return assets, err
} }
req.Header.Set("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36") req.Header.Set("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36")
req.Header.Set("x-api-key", "")
res, err := http.DefaultClient.Do(req) res, err := http.DefaultClient.Do(req)
if err != nil { if err != nil {
return assets, err return assets, err