diff --git a/examples/v7-edge-functions/functions/general/sample-html-page.js b/examples/v7-edge-functions/functions/general/sample-html-page.js index cdac239b5..5586155ae 100644 --- a/examples/v7-edge-functions/functions/general/sample-html-page.js +++ b/examples/v7-edge-functions/functions/general/sample-html-page.js @@ -79,6 +79,10 @@ export async function handleHttpRequest(request, context) { a:hover { color: #3700B3; } + pre { + overflow-wrap: break-word; + white-space: pre-wrap; + } diff --git a/examples/v7-edge-functions/routes.js b/examples/v7-edge-functions/routes.js index ffb5f86d2..92aae3983 100644 --- a/examples/v7-edge-functions/routes.js +++ b/examples/v7-edge-functions/routes.js @@ -7,7 +7,17 @@ export default new Router() .use(edgioRoutes) .static('public') - // Edgio Functions + // ================== IMPORTANT ================== + // ========== Edge Functions Activation ========== + // + // Before deploying, Edge Functions must be enabled on your account. Failing to do so will result in deployment failures. + // For local testing, you may run the examples without activation. Refer to the README for more guidance on local testing. + // + // For information on how to activate this feature, please visit: + // https://docs.edg.io/guides/v7/edge-functions + // + // =============================================== + .match('/', { edge_function: './functions/general/sample-html-page.js', })