Updates server vars with embedApiBaseUrl