Compare commits
2 commits
1d2ea468b6
...
8db4d463ad
Author | SHA1 | Date | |
---|---|---|---|
8db4d463ad | |||
de8c681440 |
2 changed files with 3 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -3,6 +3,6 @@ nft.nulo.in:
|
|||
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' .
|
||||
|
||||
upload: nft.nulo.in
|
||||
ssh root@nulo.in/993 sv stop nftmashin
|
||||
ssh -p993 root@nulo.in sv stop nftmashin
|
||||
scp -r -P993 nft.nulo.in templates assets nftmashin@nulo.in:/home/nftmashin/
|
||||
ssh root@nulo.in/993 sv start nftmashin
|
||||
ssh -p993 root@nulo.in sv start nftmashin
|
||||
|
|
|
@ -68,6 +68,7 @@ func GetAssets() (Assets, error) {
|
|||
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("x-api-key", "")
|
||||
res, err := http.DefaultClient.Do(req)
|
||||
if err != nil {
|
||||
return assets, err
|
||||
|
|
Loading…
Reference in a new issue