We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40c1071 commit 79c9636Copy full SHA for 79c9636
links.js
@@ -9,31 +9,26 @@
9
function createLink(linkData) {
10
11
// save link
12
- const base = window.location.origin + '/full';
+ let base = 'https://cde.run';
13
+ if (isDev) base = 'https://dev.cde.run';
14
+
15
let link = '';
16
17
if (linkData.dir) {
18
- link += '?dir=' +
19
+ link += '/' +
20
encodeURI(
- linkData.dir.join(',')
21
+ linkData.dir.join('/')
22
);
23
24
25
if (linkData.file) {
26
- link += '&file=' +
27
28
29
linkData.file.name
30
31
-
- if (linkData.openLive) {
32
33
- link += '&openLive=true';
34
35
- }
36
37
}
38
39
0 commit comments