We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently investigating - presumed problem in static/editor/editor.js
The text was updated successfully, but these errors were encountered:
Temporary fix has been implemented which just saves the story without trying to embed the images. Actively investigating this.
Sorry, something went wrong.
Fixed issue #1 : Story with image(s) embedded fails to save
1277e5a
This was fixed by updating main.py Line 281:
@app.route('/images/<path:filename>') def serve_image(filename): adventures = load_adventures() if current_adventure not in adventures: return redirect(url_for('main_menu')) adventure = adventures[current_adventure] with zipfile.ZipFile(adventure, 'r') as zip_ref: try: image_data = zip_ref.read(filename) response = make_response(image_data) response.headers.set('Content-Type', 'image/jpeg') return response except KeyError: return redirect(url_for('main_menu'))
ViciousSquid
No branches or pull requests
Currently investigating - presumed problem in static/editor/editor.js
The text was updated successfully, but these errors were encountered: