mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-02 00:10:07 +02:00
update docs & minor typo.
This commit is contained in:
parent
eac56533e6
commit
6bf28aa55d
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@
|
|||
/////////////////////////////
|
||||
// Public methods
|
||||
/////////////////////////////
|
||||
public async setUrl(url: string) {
|
||||
public setUrl(url: string) {
|
||||
const httpURL = url.replace(/^ws/, 'http').replace(/\/$|\/ws\/?$/, '')
|
||||
this.api.setUrl(httpURL)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue