PLEASE tell me did I overreact or am I wrong ?

Long story short I’m 31 weeks pregnant, and I work from home Mon-Fri from 8am-5pm.. My child’s father works from 6am-3pm.. He also sells edibles on the side, and will have people come to our apartment to buy/pick them up. Of course it’s people I am familiar with and know of, but this particular morning I feel like he crossed the line. I have repeated expressed to him that when it comes to MEN specifically coming here when I’m alone, being as though I am big and pregnant at this point, I’m NOT comfortable with it while he’s not here. I don’t care who it is or how he knows them, it doesn’t make me personally feel comfortable. But I have still gone ahead and helped him previously. This morning at 8:15 he sends a man (who I know of and have seen before) here while I’m still in bed, NAKED, and of course he’s gone and this man is knocking at our fucking door. I snapped... I told him that once again I was not comfortable, and I feel like he’s putting my safety on the line!! I don’t care how much you think you know someone, as a woman he shouldn’t want any man around me period while I’m this big and pregnant and alone, while he’s not here! Women are raped and attacked everyday by men they are familiar with! And it hurt my feelings to think he doesn’t even see it that way! I sort of cussed him out and told him to let his “customer” know he will have to come back when he is off from work. Not only was I not comfortable, look at what time of the morning it is. I wasn’t even clocked in yet because my body was hurting and I hadn’t gotten out of bed. Am I wrong or did I overreact in this situation?