gronk/js/permalink.js
2024-01-02 18:22:15 +00:00

9 lines
235 B
JavaScript

'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;