func (fs *FileSystem) GetApplication(ctx serve.ServeContext, name string) *serve.Site { app := new(serve.Site) app.Name = name app.URI = "/" + name app.Path = filepath.Join(ctx.Server.Path(), "apps", name) app.Config = getConfig(app.Path) return app }