Zaid-Ajaj / tabula-rasa

Minimalistic real-worldish blogging platform, written entirely in F#, made as a learning reference for building large Elmish apps
199 stars 16 forks source link

Websockets don't work with Firefox? #8

Closed isaacabraham closed 5 years ago

isaacabraham commented 5 years ago

On a clean build from the latest version of the repository, whilst I can get "live changes" to occur when publishing posts in Chrome, it doesn't work in Firefox. Also - is it supposed to work for other actions than publishing e.g. update, delete etc.?

Nhowka commented 5 years ago

If I remember correctly it was removed when migrating to the beta version of fable 2 because bridge was not compatible. I released a version recently, so it could be added again.

Nhowka commented 5 years ago

Looks like the migration isn't merged yet, so it's probably not it... I will test it too to find what is causing it

Zaid-Ajaj commented 5 years ago

Thanks @Nhowka for taking a look, I will finish the migration to Fable 2 stable soon, then I will be able to use latest Elmish.Bridge and see if the issue persists

is it supposed to work for other actions than publishing e.g. update, delete etc.?

@isaacabraham For now only when publishing, other actions can be easily added but I started with this as proof-of-concept

Zaid-Ajaj commented 5 years ago

It is probably this issue and that I need to update Suave, @Nhowka Maybe you can publish a new version of Elmish.Bridge.Suave that requires Suave 2.5.2?

Edit: scratch that, I am not using latest

isaacabraham commented 5 years ago

Thanks for the help both of you. Regarding publishing - I thought that was the case, but just wanted to make sure - I'm giving a demo on F# next week and wanted to show this as well :-)

isaacabraham commented 5 years ago

@Zaid-Ajaj confirmed just pulled latest and all works now. Cheers.

Zaid-Ajaj commented 5 years ago

Glad to hear that! thanks for taking a look :smile: