mirror of
https://github.com/gmemstr/sliproad.git
synced 2024-09-20 00:21:15 +01:00
ea1075cb5b
Reworked the fileprovider to proxy data directly from the provider rather than attempt to funkily redirect when needed, since it was overly complex and wouldn't work well in the long run. Temporarily added "file" as constant return for determining the filetype through Backblaze. Added a Makefile to make life easier as well, and rewrote the README to reflect the refactor/rewrite and new approach to providers.
10 lines
116 B
Makefile
10 lines
116 B
Makefile
.DEFAULT_GOAL := build
|
|
|
|
build:
|
|
go build
|
|
|
|
pi:
|
|
env GOOS=linux GOARCH=arm GOARM=5 go build
|
|
|
|
run:
|
|
go run webserver.go
|