macchiato-framework / macchiato-core

Ring style HTTP server abstraction for Node.js
MIT License
379 stars 35 forks source link

cors/header-name is calling a non-existing (deprecated and then removed) "capitalize" function from Cuerdas lib #52

Closed uds closed 1 year ago

uds commented 1 year ago

Function capitalize (from https://github.com/funcool/cuerdas library) was deprecated and replaced with capital. And then capitalize was removed from Cuerdas lib with the version 2020.03.26.

Here is a call to that non-existing capitalize function: https://github.com/macchiato-framework/macchiato-core/blob/893832b5c8477b591822b8cf56b9584c5c4d8efd/src/macchiato/middleware/cors.cljs#L78

yogthos commented 1 year ago

thanks, updated the call to use capital