Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
arbs09 committed Mar 14, 2024
1 parent aa050c2 commit 1847ff1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os
from flask import Flask, request, render_template
from flask import Flask, request, render_template, send_from_directory
import requests
from datetime import datetime, timedelta

Expand Down Expand Up @@ -38,6 +38,11 @@ def index():
return render_template('index.html')



@app.server.route("/robots.txt")
def send_robots():
return send_from_directory("assets", "robots.txt")

@app.route('/wp-login.php', methods=['GET', 'POST'])
@app.route('/wp-info.php', methods=['GET', 'POST'])
@app.route('/wp-admin/<path:path>', methods=['GET', 'POST'])
Expand Down

0 comments on commit 1847ff1

Please sign in to comment.