export baseURL again -_-
Former-commit-id: ab9cf62450beaae87211a3c640dd3e448135be61
This commit is contained in:
@@ -14,7 +14,7 @@ const assetsURL = "/_internal"
|
||||
// Serve provides the needed assets for the front-end
|
||||
func serveAssets(w http.ResponseWriter, r *http.Request, m *FileManager) (int, error) {
|
||||
// gets the filename to be used with Assets function
|
||||
filename := strings.Replace(r.URL.Path, m.baseURL+assetsURL, "", 1)
|
||||
filename := strings.Replace(r.URL.Path, m.BaseURL+assetsURL, "", 1)
|
||||
|
||||
var file []byte
|
||||
var err error
|
||||
|
||||
Reference in New Issue
Block a user