Skip to content

Commit 0dc092f

Browse files
committed
Update link.js
1 parent b9a7771 commit 0dc092f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

api/link.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,18 @@ const html = `
132132
133133
}
134134
135+
if (link && link.startsWith('https://cde.run/github.com/')) {
136+
137+
link = link.replace('https://cde.run/github.com/', 'https://cde.run/');
138+
139+
}
140+
141+
if (link && link.startsWith('https://dev.cde.run/github.com/')) {
142+
143+
link = link.replace('https://dev.cde.run/github.com/', 'https://dev.cde.run/');
144+
145+
}
146+
135147
if (link && notLiveView) {
136148
137149
link += '?live=false';

0 commit comments

Comments
 (0)