Compare commits
3 Commits
c231e38ade
...
0.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 277ff32b5d | |||
| 4a1b881d7b | |||
| ef6db806da |
@@ -69,7 +69,7 @@ Voilà !
|
|||||||

|

|
||||||
> Using the webcam via Javascript, you can print out a picture from your phone, webcam, or any other video device.
|
> Using the webcam via Javascript, you can print out a picture from your phone, webcam, or any other video device.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## More
|
## More
|
||||||
|
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ def api_index():
|
|||||||
|
|
||||||
|
|
||||||
@app.route('/api/print/sms', methods=['POST'])
|
@app.route('/api/print/sms', methods=['POST'])
|
||||||
@limiter.limit("2/minute", override_defaults=False)
|
@limiter.limit("6/minute", override_defaults=False)
|
||||||
def api_print_sms():
|
def api_print_sms():
|
||||||
app.logger.debug("Printing an sms")
|
app.logger.debug("Printing an sms")
|
||||||
try:
|
try:
|
||||||
@@ -114,7 +114,7 @@ def api_print_sms():
|
|||||||
return redirect(url_for('index'))
|
return redirect(url_for('index'))
|
||||||
|
|
||||||
@app.route('/api/print/img', methods=['POST'])
|
@app.route('/api/print/img', methods=['POST'])
|
||||||
@limiter.limit("2/minute", override_defaults=False)
|
@limiter.limit("6/minute", override_defaults=False)
|
||||||
def api_print_image():
|
def api_print_image():
|
||||||
app.logger.debug("Printing an image")
|
app.logger.debug("Printing an image")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user