fup: fixup
This commit is contained in:
parent
08098fb666
commit
04eb6c0299
2 changed files with 5 additions and 2 deletions
|
@ -12,7 +12,7 @@ pkgs.buildGoModule {
|
||||||
|
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
vendorSha256 = "sha256:1sikkwph5l53mzplpfbcx6q2hpdkk22i33rv99z2chaadxaaqmxf";
|
vendorSha256 = "sha256:0jvak2z2f1j9mavzxdqa7jpy3zhzznwyvj10ail7p68yilzbrkja";
|
||||||
|
|
||||||
meta = with pkgs.lib; {
|
meta = with pkgs.lib; {
|
||||||
description = "Simple file upload manager.";
|
description = "Simple file upload manager.";
|
||||||
|
|
|
@ -13,10 +13,13 @@ import (
|
||||||
|
|
||||||
"hg.lukegb.com/lukegb/depot/web/fup/fuphttp"
|
"hg.lukegb.com/lukegb/depot/web/fup/fuphttp"
|
||||||
"hg.lukegb.com/lukegb/depot/web/fup/fupstatic"
|
"hg.lukegb.com/lukegb/depot/web/fup/fupstatic"
|
||||||
|
|
||||||
|
_ "gocloud.dev/blob/memblob"
|
||||||
)
|
)
|
||||||
|
|
||||||
var cfg = &fuphttp.Config{
|
var cfg = &fuphttp.Config{
|
||||||
Templates: fupstatic.Templates,
|
Templates: fupstatic.Templates,
|
||||||
|
StorageURL: "mem://",
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestNotFound(t *testing.T) {
|
func TestNotFound(t *testing.T) {
|
||||||
|
|
Loading…
Reference in a new issue