0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00

Fixed path issue: was absolute path but should be relative path

This commit is contained in:
Maxime 2015-07-29 17:12:32 +02:00
parent 0168a627a4
commit 705cd16dee

View file

@ -40,7 +40,7 @@ func TestMarkdown(t *testing.T) {
Styles: []string{}, Styles: []string{},
Scripts: []string{}, Scripts: []string{},
Templates: templates, Templates: templates,
StaticDir: "/og_static", StaticDir: "testdata/og_static",
StaticFiles: map[string]string{"/og/first.md": "testdata/og_static/og/first.md/index.html"}, StaticFiles: map[string]string{"/og/first.md": "testdata/og_static/og/first.md/index.html"},
}, },
}, },