mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 06:19:44 +00:00
Feature/network (#2622)
* Feature: Add in the clear bindings * wip: Working on network * fix: Make it so the config gives the url * chore: Remove the repeated types * chore: Add in the todo's here * chore: UPdate and remove some poorly name var * chore: Remove the clear-bindings impl * chore: Remove the wrapper * handle HostnameInfo for Host bindings Co-authored-by: Jade <Blu-J@users.noreply.github.com> * ?? * chore: Make the install work * Fix: Url's not being created * chore: Fix the local onion in url * include port in hostname * Chore of adding a comment just to modify. --------- Co-authored-by: Aiden McClelland <me@drbonez.dev> Co-authored-by: Jade <Blu-J@users.noreply.github.com>
This commit is contained in:
@@ -2,6 +2,7 @@ import { Inject, Injectable } from '@angular/core'
|
||||
import { WINDOW } from '@ng-web-apis/common'
|
||||
import { PackageDataEntry } from 'src/app/services/patch-db/data-model'
|
||||
import { ConfigService } from './config.service'
|
||||
import { T } from '@start9labs/start-sdk'
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
@@ -13,8 +14,10 @@ export class UiLauncherService {
|
||||
) {}
|
||||
|
||||
launch(interfaces: PackageDataEntry['serviceInterfaces']): void {
|
||||
// TODO @Matt
|
||||
const host = {} as any
|
||||
this.windowRef.open(
|
||||
this.config.launchableAddress(interfaces),
|
||||
this.config.launchableAddress(interfaces, host),
|
||||
'_blank',
|
||||
'noreferrer',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user