feat: Move getGitCommit from api to tools
All checks were successful
Build Docker / BuildImage (push) Successful in 1m4s

This commit is contained in:
2025-10-11 18:51:22 +11:00
parent 258061c64d
commit bfc1f0839a
3 changed files with 24 additions and 23 deletions

View File

@@ -22,10 +22,10 @@ from PIL import Image
from blueprints.now import now_bp
from blueprints.blog import blog_bp
from blueprints.wellknown import wk_bp
from blueprints.api import api_bp, getGitCommit
from blueprints.api import api_bp
from blueprints.podcast import podcast_bp
from blueprints.acme import acme_bp
from tools import isCurl, isCrawler, getAddress, getFilePath, error_response, getClientIP, json_response
from tools import isCurl, isCrawler, getAddress, getFilePath, error_response, getClientIP, json_response, getGitCommit
app = Flask(__name__)
CORS(app)