File tree 2 files changed +2
-12
lines changed
examples/v7-optimizely-edge
2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 2
2
// You should commit this file to source control.
3
3
// Learn more about this file at https://docs.edg.io/guides/edgio_config
4
4
module . exports = {
5
- connector : '@edgio/next' ,
5
+ // connector: '@edgio/next',
6
6
7
7
// The name of the site in Edgio to which this app should be deployed.
8
8
// name: 'my-site-name',
Original file line number Diff line number Diff line change 1
1
// This file was automatically added by edgio init.
2
2
// You should commit this file to source control.
3
3
import { Router } from '@edgio/core/router' ;
4
- import { nextRoutes } from '@edgio/next' ;
5
-
6
4
export default new Router ( )
7
- // NextRoutes automatically adds routes for all Next.js pages and their assets
8
- //.use(nextRoutes)
9
- . match ( '/:path*' , {
10
- origin : {
11
- set_origin : 'wikipedia' ,
12
- } ,
13
- } )
14
-
15
5
// Add a custom route for the Optimizely Edge Function
16
- . match ( '/optimizely ' , {
6
+ . match ( '/' , {
17
7
edge_function : './edge-functions/main.js' ,
18
8
} )
19
9
You can’t perform that action at this time.
0 commit comments