<commit_before>VERSION = '1.0.3'

from flask import Flask, render_template
import os

from edaemon.main import bp as MainBlueprint
from edaemon.admin import bp as AdminBlueprint

app = Flask(__name__)
_environ_GA_TRACKING_ID = os.environ.get('GA_TRACKING_ID', None)
if not _environ_GA_TRACKING_ID is None:
    app.config['_environ_GA_TRACKING_ID'] = _environ_GA_TRACKING_ID
app.secret_key = os.environ['EDAEMON_APP_SECRET_KEY']

app.config['VERSION'] = VERSION
app.config['silent'] = int(os.environ['EDAEMON_APP_SILENT']) == 1

app.register_blueprint(MainBlueprint)
app.register_blueprint(AdminBlueprint, url_prefix='/a')

@app.errorhandler(404)
def four_oh_four(e):
    return render_template('404.htm'), 404
<commit_msg>rss: add mountpoint to app<commit_after>VERSION = '1.0.3'

from flask import Flask, render_template
import os

from edaemon.main import bp as MainBlueprint
from edaemon.admin import bp as AdminBlueprint
from edaemon.rss import bp as RSSBlueprint

app = Flask(__name__)
_environ_GA_TRACKING_ID = os.environ.get('GA_TRACKING_ID', None)
if not _environ_GA_TRACKING_ID is None:
    app.config['_environ_GA_TRACKING_ID'] = _environ_GA_TRACKING_ID
app.secret_key = os.environ['EDAEMON_APP_SECRET_KEY']

app.config['VERSION'] = VERSION
app.config['silent'] = int(os.environ['EDAEMON_APP_SILENT']) == 1

app.register_blueprint(MainBlueprint)
app.register_blueprint(AdminBlueprint, url_prefix='/a')
app.register_blueprint(RSSBlueprint, url_prefix='/feed')

@app.errorhandler(404)
def four_oh_four(e):
    return render_template('404.htm'), 404

{'fraction_non_alphanumeric': 0.11046885035324341, 'fraction_numerical': 0.016698779704560053, 'mean_word_length': 7.114583333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6127415', 'n_tokens_mistral': 600, 'n_tokens_neox': 589, 'n_words': 110}