examples icon indicating copy to clipboard operation
examples copied to clipboard

Added Rewrite to external URL example

Open steven-tey opened this issue 2 years ago • 1 comments

Description

Best Way to Test

Type of Change

  • [ ] Bug fix (non-breaking change that fixes an issue)
  • [ ] New Example
  • [ ] New feature in existing example

New Example Checklist

  • [ ] 🚀 Link to deployment URL on Vercel
  • [ ] 📱 Is it responsive? Are mobile and tablets considered?
  • [ ] 📚 README.md preview link in PR description (branch)
  • [ ] ⚙️ Secrets have instructions for how to set up in the readme
  • [ ] 🛫 npm run new-example was run to create the example

steven-tey avatar Jun 14 '22 04:06 steven-tey

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
build-output-api-isr ❌ Failed (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-api-route ❌ Failed (Inspect) Jun 27, 2022 at 4:08PM (UTC)
rewrite-to-external-url ❌ Failed (Inspect) Jun 27, 2022 at 4:08PM (UTC)
63 Ignored Deployments
Name Status Preview Updated
build-output-api-edge-functions ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
build-output-api-edge-middleware ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
build-output-api-image-optimization ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
build-output-api-overrides ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
build-output-api-prerender-functions ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
build-output-api-preview-mode ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
build-output-api-routes ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
build-output-api-serverless-functions ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
build-output-api-static-files ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
build-output-api-wildcard ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
domains-api ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-ab-testing-statsig ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-ab-testing-google-optimize ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-ab-testing-simple ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-add-header ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-api-rate-limit ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-api-rate-limit-and-tokens ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-basic-auth-password ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-bot-protection-botd ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-bot-protection-datadome ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-cookies ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-cors ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-crypto ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-feature-flag-apple-store ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-feature-flag-configcat ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-feature-flag-posthog ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-feature-flag-split ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-geolocation ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-hostname-rewrites ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-i18n ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-image-response ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-ip-blocking-datadome ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-json-response ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-jwt-authentication ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-news ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-power-parity-pricing ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-power-parity-pricing-strategies ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-query-params-filter ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-functions-redirects-upstash ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-maintenance-page ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-rewrites-upstash ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
edge-user-agent-based-rendering ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
example-auth-with-ory ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
example-feature-flag-apple-store ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
example-reduce-image-bandwidth-usage ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
feature-flag-optimizely ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
i18n ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
mint-nft ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
solutions-cms-contentstack-commerce ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
solutions-combining-data-fetching-strategies ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
solutions-image-fallback ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
solutions-image-offset ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
solutions-loading-web-fonts ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
solutions-microfrontends ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
solutions-microfrontends-docs ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
solutions-monorepo ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
solutions-on-demand-isr ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
solutions-pagination-with-ssg ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
solutions-reuse-responses ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
solutions-script-component-ad ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
solutions-script-component-strategies ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
solutions-subdomains-auth ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)
static-tweets-tailwind ⬜️ Ignored (Inspect) Jun 27, 2022 at 4:08PM (UTC)

vercel[bot] avatar Jun 14 '22 04:06 vercel[bot]

Yeah, I think I agree. We should add to the Docs how to rewrite to an external url from middleware -> https://nextjs.org/docs/advanced-features/middleware

okbel avatar Nov 16 '22 11:11 okbel