forge42dev / remix-toast

Server side implementation of toast notifications in Remix
MIT License
190 stars 11 forks source link

Cookie options should be configurable #5

Closed jacobparis closed 8 months ago

jacobparis commented 10 months ago

It would be nice to provide a way to edit this config so users aren't stuck with this hardcoded cookie name and secret. I'm looking at trying this out in the Epic Stack and this seems to be the only blocker at the moment

https://github.com/Code-Forge-Net/remix-toast/blob/8f5783e8eb949abd63e9ec6c403ac5d05894caca/src/index.ts#L8-L16

AlemTuzlak commented 10 months ago

Any idea on the api? What would you want to see?

rphlmr commented 9 months ago

@jacobparis what about the proposal in the linked PR? Any better idea?