adjective
BAD : As it was raining we decided to stay indoor.
GOOD : As it was raining we decided to stay indoors.
◆◆◆
Indoor (WITHOUT s ) is an adjective: 'an indoor tennis court', 'indoor athletics'.
Indoors (WITH s ) is an adverb: 'I don't like spending the whole day indoors.'