mirror of
https://github.com/alvierahman90/gronk.git
synced 2025-12-13 18:54:00 +00:00
begin rewrite
This commit is contained in:
8
js/permalink.js
Normal file
8
js/permalink.js
Normal file
@@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
const MANUAL_REDIRECT = document.getElementById('manual_redirect');
|
||||
|
||||
const newLocation = data[new URLSearchParams(window.location.search).get('uuid')];
|
||||
|
||||
MANUAL_REDIRECT.href = newLocation;
|
||||
window.location = newLocation;
|
||||
Reference in New Issue
Block a user