Function psibase::serve_simple_index
source ยท pub fn serve_simple_index(request: &HttpRequest) -> Option<HttpReply>
Expand description
Serve index.html for a developer UI
This function serves the following HTML for GET /
or GET /index.html
:
<html>
<div id="root" class="ui container"></div>
<script src="/common/SimpleUI.mjs" type="module"></script>
</html>