Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
EXSYS2021
da6
Hold Afstand
Commits
3905a3f2
Commit
3905a3f2
authored
May 07, 2021
by
Anders B. Clausen
Browse files
Now requestion /persistence/ on absolute URL - this should work over https as well - works locally
parent
2d828bcb
Pipeline
#52480
passed with stage
in 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
website/studerende-dk/src/views/Home.vue
View file @
3905a3f2
...
...
@@ -41,9 +41,10 @@ import Calendar from "@/components/blocks/Calendar";
const
sendServerRequest
=
(
type
,
payload
)
=>
{
const
xhr
=
new
XMLHttpRequest
();
const
url
=
"
/persistence
"
;
const
url
=
window
.
location
.
href
+
"
persistence
"
;
const
req
=
url
+
"
?type=
"
+
type
+
"
&
"
+
payload
;
xhr
.
open
(
"
GET
"
,
url
+
"
?type=
"
+
type
+
"
&
"
+
payload
);
xhr
.
open
(
"
GET
"
,
req
);
xhr
.
send
();
return
xhr
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment