Skip to content

Template to configure a project for StackPath EdgeEngine with TypeScript and Webpack

Notifications You must be signed in to change notification settings

jasonbyrne/stackpath-edgeengine-typescript-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stackpath-edgeengine-typescript-example

To compile the bundle, use this command:

npm run build

This simple example will simply look for a userId cookie. If it is greater than 0 then it will give you the underlying file from the origin. If it is not present (or not greater than 0) it will return a 403 Permission Denied.

This is obviously not secure. It's just meant as a jumping off point.

This repository is associated with this blog post: https://engineering.flosports.tv/authentication-at-edge-with-stackpath-86106e33f5d1

About

Template to configure a project for StackPath EdgeEngine with TypeScript and Webpack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published