more cleanup

This commit is contained in:
Trym Lund Flogard
2021-06-05 14:21:53 +02:00
parent 2b05098faf
commit 7ca2f4d4fb
6 changed files with 40 additions and 83 deletions

View File

@@ -15,8 +15,8 @@ export class InputsDouble implements Inputs {
return ''
}
get Endpoint(): string {
return process.env['ENDPOINT']!
get Endpoint(): URL {
return new URL(process.env['ENDPOINT']!)
}
get Username(): string {