mirror of
https://github.com/logos-storage/logos-storage-installer.git
synced 2026-01-16 04:13:10 +00:00
18 lines
459 B
JavaScript
18 lines
459 B
JavaScript
import open from "open";
|
|
|
|
export function openCodexApp(config) {
|
|
// TODO: Update this to the main URL when the PR for adding api-port query parameter support
|
|
// has been merged and deployed.
|
|
// See: https://github.com/codex-storage/codex-marketplace-ui/issues/92
|
|
|
|
const segments = [
|
|
"https://releases-v0-0-14.codex-marketplace-ui.pages.dev/",
|
|
"?",
|
|
`api-port=${config.ports.apiPort}`,
|
|
];
|
|
|
|
const url = segments.join("");
|
|
|
|
open(url);
|
|
}
|