mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-09-20 04:54:00 +02: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; |