sparckles / Robyn

Robyn is a Super Fast Async Python Web Framework with a Rust runtime.
https://robyn.tech/
BSD 2-Clause "Simplified" License
4.45k stars 229 forks source link

fix: allow cors in robyn #1019

Closed sansyrox closed 1 week ago

sansyrox commented 1 week ago

Description

This PR fixes #1017

Summary

This PR fixes CORS issue in Robyn

PR Checklist

Please ensure that:

Pre-Commit Instructions:

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
robyn ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 11, 2024 5:30pm
codspeed-hq[bot] commented 1 week ago

CodSpeed Performance Report

Merging #1019 will degrade performances by 20.48%

Comparing fix/cors-issue (23f3e6d) with main (9f74ace)

Summary

❌ 1 regressions ✅ 145 untouched benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main fix/cors-issue Change
test_allow_cors 361 µs 454 µs -20.48%