modify get web file path
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ func GetSpec() ([]byte, error) {
|
||||
}
|
||||
|
||||
func GetWebFile(fp string) (body []byte, mime string, err error) {
|
||||
p := filepath.Join("public", fp)
|
||||
p := filepath.Join("public/swagger", fp)
|
||||
b, err := Asset(p)
|
||||
if err != nil {
|
||||
return nil, "", err
|
||||
|
||||
Reference in New Issue
Block a user