Skip to content
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

Add a sample-file-server cmd #1512

Merged
merged 1 commit into from
Aug 4, 2023
Merged

Add a sample-file-server cmd #1512

merged 1 commit into from
Aug 4, 2023

Conversation

lalexgap
Copy link
Contributor

@lalexgap lalexgap commented Aug 3, 2023

This is a pretty simple helper cmd that spins up an http server that serves a single file. It's main use is to act as a the destination server for the payment proxy when doing demos.

It lets you specify the size of the file it serves, which is handy for demo purposes.

@netlify
Copy link

netlify bot commented Aug 3, 2023

👷 Deploy Preview for nitrodocs processing.

Name Link
🔨 Latest commit 5461b56
🔍 Latest deploy log https://app.netlify.com/sites/nitrodocs/deploys/64cbf46db2fb8600084187ba

@netlify
Copy link

netlify bot commented Aug 3, 2023

Deploy Preview for nitro-gui canceled.

Name Link
🔨 Latest commit 5461b56
🔍 Latest deploy log https://app.netlify.com/sites/nitro-gui/deploys/64cbf46d6696700008c8d21f

@netlify
Copy link

netlify bot commented Aug 3, 2023

Deploy Preview for nitro-storybook canceled.

Name Link
🔨 Latest commit 5461b56
🔍 Latest deploy log https://app.netlify.com/sites/nitro-storybook/deploys/64cbf46dfdd1da0008cfdb76

use a temp folder for the file

fix file serving

add file length parameter

Add start and end identifiers
@lalexgap lalexgap merged commit e966834 into main Aug 4, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants