Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update url-shortener.mdx #224

Merged
merged 2 commits into from
Nov 22, 2023
Merged

Update url-shortener.mdx #224

merged 2 commits into from
Nov 22, 2023

Conversation

thestriver
Copy link
Contributor

Running curl -X https://url-shortener.shuttleapp.rs/ results in an error. curl: (2) no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information

There's also no /hello specified in the code.
What you would get would be:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="color-scheme" content="light dark">
    <title>404 Not Found</title>
</head>
<body align="center">
    <div role="main" align="center">
        <h1>404: Not Found</h1>
        <p>The requested resource could not be found.</p>
        <hr />
    </div>
    <div role="contentinfo" align="center">
        <small>Rocket</small>
    </div>
</body>
</html>

thestriver and others added 2 commits November 21, 2023 09:42
Running curl -X https://url-shortener.shuttleapp.rs/ results in an error. 
curl: (2) no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information

There's also no /hello specified in the code.
@jonaro00
Copy link
Member

Thanks for finding this. It turned out that /hello was being used, but we no longer use that in our examples.

@jonaro00 jonaro00 merged commit fac70e0 into shuttle-hq:main Nov 22, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants