Commit a7c98621aea5aaf1742a61e95e6c9325a6e404e7
- Diff rendering mode:
- inline
- side by side
templates/web.html
(1 / 1)
  | |||
30 | 30 | if(!url.match(/http/)) { | |
31 | 31 | url = 'http://' + url; | |
32 | 32 | } | |
33 | window.location.href = '/SWeeText?url=' + encodeURIComponent(url); | ||
33 | window.location.href = '{{ url_for("SWeeText") }}?url=' + encodeURIComponent(url); | ||
34 | 34 | } | |
35 | 35 | </script> | |
36 | 36 | </body> |