This commit is contained in:
yumoqing 2024-01-31 17:07:12 +08:00
parent f108269173
commit 91f4c816d6

View File

@ -46,7 +46,6 @@ if __name__ == '__main__':
i18n = getI18N(path=workdir) i18n = getI18N(path=workdir)
# server = ConfiguredServer(auth_klass=MyAuthAPI, workdir=workdir) # server = ConfiguredServer(auth_klass=MyAuthAPI, workdir=workdir)
server = ConfiguredServer(workdir=workdir) server = ConfiguredServer(workdir=workdir)
load_plugins(workdir, server)
logger.info(f'gadget version={__version__}') logger.info(f'gadget version={__version__}')
logger.debug(f'debug mode show ?') logger.debug(f'debug mode show ?')
port = args.port or config.website.port or 8080 port = args.port or config.website.port or 8080