mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-27 09:28:37 +00:00
fix: typo
This commit is contained in:
@@ -25,7 +25,7 @@ func (e *embedFileSystem) Exists(prefix string, path string) bool {
|
|||||||
|
|
||||||
func (e *embedFileSystem) Open(name string) (http.File, error) {
|
func (e *embedFileSystem) Open(name string) (http.File, error) {
|
||||||
if name == "/" {
|
if name == "/" {
|
||||||
// This will make sure the index page gose to NoRouter handler,
|
// This will make sure the index page goes to NoRouter handler,
|
||||||
// which will use the replaced index bytes with analytic codes.
|
// which will use the replaced index bytes with analytic codes.
|
||||||
return nil, os.ErrNotExist
|
return nil, os.ErrNotExist
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user