mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-08 20:47:02 +03:00
11 lines
261 B
TypeScript
11 lines
261 B
TypeScript
import {config} from '../src/config';
|
|
|
|
export function getbaseURL() {
|
|
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;
|