Move user struct to own file, under Invidious namespace

This commit is contained in:
Samantaz Fox
2022-02-04 04:09:07 +01:00
parent fb36155022
commit c04f45d5e3
6 changed files with 34 additions and 33 deletions

View File

@@ -548,7 +548,7 @@ add_handler AuthHandler.new
add_handler DenyFrame.new
add_context_storage_type(Array(String))
add_context_storage_type(Preferences)
add_context_storage_type(User)
add_context_storage_type(Invidious::User)
Kemal.config.logger = LOGGER
Kemal.config.host_binding = Kemal.config.host_binding != "0.0.0.0" ? Kemal.config.host_binding : CONFIG.host_binding