set action endpoint of SIR form based on config