Optical switches and rerouting network are main obstacles to realize optical quantum computer. In particular, both components have been considered as essential components to the measurementbased time-domain optical quantum computation, which has seen promising developments regarding scalability in the recent years. Realizing optical switches and rerouting network with sufficient performance is, however, experimentally challenging as they must have extremely low loss, small switching time, high repetition rate, and minimum optical nonlinearity. In this work, we present an optical quantum computation platform that does not require such optical switches. Our method is based on continuous-variable measurement-based quantum computation, where instead of the typical cluster states, we modify the structure of the quantum entanglements, so that quantum teleportation protocol can be employed instead of the optical switching and rerouting. We also show that when combined with Gottesman-Kitaev-Preskill encoding, our architecture can outperform the architecture with optical switches when the optical losses of the switches are not low.