Yeah since most app dev inevitably involves some web dev I don't see that going away.
Also since so many people in web dev only know web dev (and they're usually not great at it), your skills otherwise will make you the stronger candidate. You can ask for a much higher salary in a tech lead or architect role and it may only take a few years to get there depending on the organization.
If you have passion for your work there's still plenty of opportunity and things are recovering, not regressing.
The big bad copypasta monster (AI) is not a threat in the slightest for anyone with a CS degree, but especially if you're willing to get closer to business needs and further away from implementation details.