fixed cors for digi server and fixed typo for strong params