File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33name : Publish package to GitHub Packages
44
5- on : [push]
5+ on :
6+ - push
7+ - workflow_dispatch
68
79jobs :
810 release :
Original file line number Diff line number Diff line change 1+ # Evaluation Function Testing Server
2+
3+ This server is intended to be run locally while using the Response Area
4+ Sandbox. It acts as a proxy between the Sandbox (running within a web browser)
5+ and an evaluation function.
6+
7+ Web browsers send a [ preflight
8+ request] ( https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request )
9+ before every GET or POST request which uses the OPTIONS verb. Evaluation
10+ functions (running locally or on AWS) are not configured to respond to OPTIONS
11+ requests, so this proxy is responsible for replying to the preflight request and
12+ forwarding just the POST request to the evaluation function.
Original file line number Diff line number Diff line change 11{
2- "name" : " @lambda-feedback-segp-sandbox/ef-test-server" ,
3- "version" : " 0.5.0" ,
2+ "name" : " @lambda-feedback/ef-test-server" ,
3+ "license" : " UNLICENSED" ,
4+ "version" : " 1.0.0" ,
45 "main" : " dist/index.js" ,
56 "scripts" : {
67 "build" : " yarn tsc" ,
You can’t perform that action at this time.
0 commit comments