1
0
mirror of synced 2026-01-04 18:06:26 -05:00
Files
docs/script/bookmarklets/view-in-development.js
2022-04-13 15:53:59 -04:00

4 lines
192 B
JavaScript

window.location.href = window.location.href
.replace(/https:\/\/docs\.github\.com/, 'http://localhost:4000')
.replace(/https:\/\/.*\..*\.(com|net|dev|io|org|ms)/, 'http://localhost:4000')