Aligning objects to spline angle


Hi everyone

I have a spline (not a straight one) that i place object randomly on, But I want the objects to align to the spline’s angle at the same point

As you see in the picture, I have a spline and the objects are randomly placed, but do not have the same angle as the spline, but they’re all facing upwards