Skip to content

Commit

Permalink
Fix css in EF example; add note to router for activation
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlee85 committed Oct 2, 2023
1 parent 851a460 commit 07a8d00
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ export async function handleHttpRequest(request, context) {
a:hover {
color: #3700B3;
}
pre {
overflow-wrap: break-word;
white-space: pre-wrap;
}
</style>
</head>
<body>
Expand Down
12 changes: 11 additions & 1 deletion examples/v7-edge-functions/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
})
Expand Down

0 comments on commit 07a8d00

Please sign in to comment.