mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
10 lines
No EOL
268 B
TypeScript
10 lines
No EOL
268 B
TypeScript
import {config} from '../src/config';
|
|
|
|
export function getbaseURL(): string {
|
|
return "http://localhost:" + config.port;
|
|
}
|
|
|
|
/**
|
|
* Duplicated from Mocha types. TypeScript doesn't infer that type by itself for some reason.
|
|
*/
|
|
export type Done = (err?: any) => void; |