sujit-baniya / fiber-boilerplate

This is the go boilerplate on the top of fiber web framework. With simple setup you can use many features out of the box

Home Page:https://sujit-baniya.gitbook.io/fiber-boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mysql timezone

azerturk opened this issue · comments

[error] failed to initialize database, got error unknown time zone Localcasbin

I am using mysql i added line to the my.ini default-time-zone = "+04:00" and then i changed the loc in connectionstring but no success

Thank you for opening Issue!

The issue was on Casbin Implementation. I've fixed the issue. Please pull latest code and try again.

Thanks

Okay. I tested a little. The only problem i seen that after logout then reset password mail is not sended - "use of closed connection".

And also in "config/headers.go" this line "c.Set("X-Content-Type-Options", "nosniff")" causes refused running scripts on browser and you should also update readme file rabbitmq lines part )
Last one i tested when i clikcked the paypal button then in browser console shows error - "SyntaxError: Unexpected token < in JSON at position 0"

@azerturk Yes I'll update both as soon as I'm free