mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
vweb: update references to old .init_once() and .init() methods to .init_server() and .before_request()
This commit is contained in:
parent
5e0ff5c524
commit
cafe382424
5 changed files with 6 additions and 19 deletions
|
@ -18,7 +18,7 @@ fn main() {
|
|||
vweb.run<App>(port)
|
||||
}
|
||||
|
||||
pub fn (mut app App) init_once() {
|
||||
pub fn (mut app App) init_server() {
|
||||
app.handle_static('.', false)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue