Skip to content

Demo: HTTP CORS proxy#76

Draft
ngxson wants to merge 4 commits intomasterfrom
xsn/cors_proxy_demo
Draft

Demo: HTTP CORS proxy#76
ngxson wants to merge 4 commits intomasterfrom
xsn/cors_proxy_demo

Conversation

@ngxson
Copy link
Owner

@ngxson ngxson commented Jan 6, 2026

This is a demo for CORS proxy.

Example: Instead of:

fetch("https://huggingface.co"); // fails due to CORS blocked

Change it to:

fetch("http://localhost:8080/cors-proxy?url=https://huggingface.co")

NOTE: you may need to rm -rf build to reset cmake config, then rebuild llama-server using this PR

@coderabbitai
Copy link

coderabbitai bot commented Jan 6, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@ServeurpersoCom
Copy link

I must test it in a basic (no homeserver / apache2) configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants