generated from VLADIMIR/template_frontend
fix
This commit is contained in:
@@ -38,6 +38,8 @@
|
|||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
:root {
|
:root {
|
||||||
|
color-scheme: only dark;
|
||||||
|
|
||||||
--color-background: var(--vt-c-black);
|
--color-background: var(--vt-c-black);
|
||||||
--color-background-soft: var(--vt-c-black-soft);
|
--color-background-soft: var(--vt-c-black-soft);
|
||||||
--color-background-mute: var(--vt-c-black-mute);
|
--color-background-mute: var(--vt-c-black-mute);
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ onMounted(async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.hr {
|
.hr {
|
||||||
margin: 5px;
|
margin: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.relative-day-name {
|
.relative-day-name {
|
||||||
|
|||||||
@@ -14,7 +14,8 @@ export const apiGetDays = async (): Promise<Schedule> => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function getApiUrl(path: string) {
|
export function getApiUrl(path: string) {
|
||||||
const url = 'http://' + window.location.host.split(':')[0] + ':8210' + path
|
const url = 'https://' + window.location.host.split(':')[0] + path
|
||||||
|
// const url = 'http://localhost:8210' + path
|
||||||
return url
|
return url
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user