From 36d9f0ab490db5e179712ce1b893232d528da94e Mon Sep 17 00:00:00 2001 From: atomi <1456417373@qq.com> Date: Sun, 27 Feb 2022 22:53:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9Afix=20html=20page=5Fparser=5Fmode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastapi_amis_admin/amis_admin/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi_amis_admin/amis_admin/admin.py b/fastapi_amis_admin/amis_admin/admin.py index 9a07f5be..070f72de 100644 --- a/fastapi_amis_admin/amis_admin/admin.py +++ b/fastapi_amis_admin/amis_admin/admin.py @@ -513,7 +513,7 @@ def get_page_schema(self) -> Optional[PageSchema]: super().get_page_schema() if self.page_schema: self.page_schema.url = f'{self.router.prefix}{self.page_path}' - self.page_schema.schemaApi = f'get:{self.router_path}{self.page_path}' + self.page_schema.schemaApi = f'{self.router_path}{self.page_path}' if self.page_parser_mode == 'html': self.page_schema.schema_ = Page(body=Iframe(src=self.page_schema.schemaApi)) return self.page_schema