Skip to content
This repository was archived by the owner on Aug 28, 2021. It is now read-only.
This repository was archived by the owner on Aug 28, 2021. It is now read-only.

Requested url was not found on this server. #3

@Harp3rDev

Description

@Harp3rDev

No matter what I do, after copying pretty much every file and moving all my files to /public, pressing go sends me to https://emerald-phoenix.herokuapp.com/createSession which doesn't exist. I made a new branch and deployed it to heroku. Here is all of the code i've edited:

config.json

{
    "prefix": "/math/",
    "port": "8080",
    "ssl": false
}

math.html (you'd get to it by clicking on alloy proxy in selection1.html)

<center>
<!--<form action="" method="get" id="web-search-box" style="transform:scale(1.1)">-->
<form action="/createSession/" id="web-search-box" method="POST" style="transform:scale(1.1)">
<p>
<input type="text" placeholder="Enter URL" style="border:none;border-radius: 5px;padding:10px;" id="url" autocomplete="false" name="url" />&nbsp;
<button type="submit" id="btn">Go!</button>>
 />
<script>
             
function redirect(str) {
return location.href = '/alloy?url=' + btoa(str)
}
 //these are the shortcut buttons
function googlekey(){redirect("google.com")}
 function startpagekey(){redirect("startpage.com")}
 function andkonkey(){redirect("andkon.com")}
 function youtubekey(){redirect("youtube.com")}
function snake(){redirect("littlebigsnake.com")}
 function surviv(){redirect("surviv.io")}
function shellshock(){redirect("shellshock.io")}
 function defly(){redirect("defly.io")}
 </script>
 </p>
</form>
 </center>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions