While we have many similar threads (important takeaway: do not learn frameworks, learn the language and then use frameworks), such a choice is ultimately up to the company you plan to work for. You can learn Node.JS now, however that will not help you a lot if the company employing you wants you to work with Python. Also, there are a lot more options than just those two. There are, amongst others, Go and Java, and Rust (with Tokio and Diesel) has become quite an interesting alternative as well.
Don't worry, though. Two years is not a lot of experience and most companies won't expect you to know a whole lot of hands-on practice if they decide to hire you as a junior developer. More important than that is your willingness to learn what's important for the company and be ready to put energy into that.
Better job opportunities will come with more experience and more often than not certificates and degrees. So you should focus on what you want to do, gain experience, get certificates and maybe study.
Personally, I do not quite like Python and would rather recommend Node.JS (you already know JS, so you have a foot in the door), which you should extend with Rust (FFI or WASM) for performance later on. But that's my very opinionated answer to your question :)