Skip to content

Transfer to lambda-feedback #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

name: Publish package to GitHub Packages

on: [push]
on:
- push
- workflow_dispatch

jobs:
release:
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Evaluation Function Testing Server

This server is intended to be run locally while using the Response Area
Sandbox. It acts as a proxy between the Sandbox (running within a web browser)
and an evaluation function.

Web browsers send a [preflight
request](https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request)
before every GET or POST request which uses the OPTIONS verb. Evaluation
functions (running locally or on AWS) are not configured to respond to OPTIONS
requests, so this proxy is responsible for replying to the preflight request and
forwarding just the POST request to the evaluation function.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@lambda-feedback-segp-sandbox/ef-test-server",
"version": "0.5.0",
"name": "@lambda-feedback/ef-test-server",
"license": "UNLICENSED",
"version": "1.0.0",
"main": "dist/index.js",
"scripts": {
"build": "yarn tsc",
Expand Down
Loading