Using cors for offline testing