Error message:
ValueError: urls must start with a leading slash
Source
from flask import Flask, Blueprint
mod = Blueprint('apis', __name__, url_prefix='api/valuations')
Correction
from flask import Flask, Blueprint mod = Blueprint('apis', __name__, url_prefix='/api/valuations')
No comments :
Post a Comment