Correctly parse IPV4_ADDRESS in setupVars for CORS
Correctly parse IPV4_ADDRESS in setupVars for CORS

Often there's a `/24` at the end of the IP, so we need to ignore
that.

jacobsalmela/AdminLTE,jacobsalmela/AdminLTE,jacobsalmela/AdminLTE,jacobsalmela/AdminLTE