bugfix
This commit is contained in:
parent
093e604d99
commit
8884c2d6c2
@ -4,7 +4,7 @@ async function handle_keys_request(context) {
|
|||||||
|
|
||||||
// If the domain is `keys.ewpratten.com`, redirect to `ewpratten.com/keys/...`
|
// If the domain is `keys.ewpratten.com`, redirect to `ewpratten.com/keys/...`
|
||||||
if (url.hostname == 'keys.ewpratten.com') {
|
if (url.hostname == 'keys.ewpratten.com') {
|
||||||
url.domain = 'ewpratten.com';
|
url.hostname = 'ewpratten.com';
|
||||||
|
|
||||||
// If there was no path set, return the SSH keys
|
// If there was no path set, return the SSH keys
|
||||||
if (url.pathname == '/') {
|
if (url.pathname == '/') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user