mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
ci: add sll support and enhance e2e workflow
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
export const getBaseUrl = (
|
||||
isSslEnabled: boolean,
|
||||
domain: string | undefined,
|
||||
port: string | undefined,
|
||||
): string => {
|
||||
const uriScheme = isSslEnabled ? "https" : "http";
|
||||
const baseURL = `${uriScheme}://${domain}${port ? `:${port}` : ""}`;
|
||||
return baseURL;
|
||||
};
|
||||
Reference in New Issue
Block a user