diff --git a/src/components/AdminWindow.vue b/src/components/AdminWindow.vue index c70f3bb..ee660ff 100644 --- a/src/components/AdminWindow.vue +++ b/src/components/AdminWindow.vue @@ -1,11 +1,15 @@ @@ -38,13 +68,100 @@ Вечерний детектив - - {{ team.name }} - {{ team.spendTime }} - {{ team.applications }} - + + + + Название команды + Время мин. + Приложения + + + + + {{ team.name }} + {{ team.spendTime }} + + + {{ application.name }} Выдано + + + + + diff --git a/src/components/net.ts b/src/components/net.ts new file mode 100644 index 0000000..d8f1ce0 --- /dev/null +++ b/src/components/net.ts @@ -0,0 +1,5 @@ +export function getApiUrl(path: string) { + const url = "http://" + window.location.host.split(":")[0] + ":8090" + path + console.log(url) + return url +}