We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8e939b commit 3f23be7Copy full SHA for 3f23be7
lightbug_api/app.mojo
@@ -86,9 +86,9 @@ struct App[docs_enabled: Bool = False]:
86
generator.save_spec(openapi_spec, str(self.lightbug_dir / "openapi_spec.json"))
87
return openapi_spec
88
89
- fn start_server(mut self, address: StringLiteral = "0.0.0.0:8080") raises:
+ fn start_server(mut self, address: String = "0.0.0.0:8080") raises:
90
if docs_enabled:
91
- logger.info("API Docs ready at: " + "http://" + String(address) + "/docs")
+ logger.info("API Docs ready at: " + "http://" + address + "/docs")
92
self.update_temporary_files()
93
var server = Server()
94
server.listen_and_serve(address, self)
0 commit comments