Update.
This commit is contained in:
parent
70d3b3b019
commit
659c30f376
@ -42,6 +42,7 @@ from snek.system.template import (
|
||||
PythonExtension,
|
||||
sanitize_html,
|
||||
)
|
||||
from snek.view.new import NewView
|
||||
from snek.view.about import AboutHTMLView, AboutMDView
|
||||
from snek.view.avatar import AvatarView
|
||||
from snek.view.channel import ChannelAttachmentView,ChannelAttachmentUploadView, ChannelView
|
||||
@ -272,6 +273,8 @@ class Application(BaseApplication):
|
||||
name="static",
|
||||
show_index=True,
|
||||
)
|
||||
|
||||
self.router.add_view("/new.html", NewView)
|
||||
self.router.add_view("/profiler.html", profiler_handler)
|
||||
self.router.add_view("/container/sock/{channel_uid}.json", ContainerView)
|
||||
self.router.add_view("/about.html", AboutHTMLView)
|
||||
|
@ -394,7 +394,7 @@ textToLeetAdvanced(text) {
|
||||
}
|
||||
j++;
|
||||
}
|
||||
return i === s.length;
|
||||
return i === s.length && s.length > 1;
|
||||
}
|
||||
|
||||
flagTyping() {
|
||||
|
@ -52,7 +52,7 @@ self.addEventListener("push", async (event) => {
|
||||
data,
|
||||
}).then(e => console.log("Showing notification", e)).catch(console.error);
|
||||
|
||||
event.waitUntil(reg);
|
||||
// event.waitUntil(reg);
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user