[FIX] fix domaine

This commit is contained in:
odex 2024-08-07 16:43:47 +03:00
parent 8b444e389d
commit ca1f657eb2
1 changed files with 3 additions and 8 deletions

View File

@ -3,11 +3,8 @@ from odoo.http import request
class TermsController(http.Controller):
@http.route(
[
"/rest_api/web/odexss/terms",
"/web/odexss/terms",
],
@http.route(["/rest_api/odexss/terms", "/web/odexss/terms", "/rest_api/myodex/terms", "/web/myodex/terms", ],
type="http",
auth="none",
csrf=False,
@ -17,9 +14,7 @@ class TermsController(http.Controller):
def terms_of_user(self, **kw):
return http.request.render("odex_mobile.terms_of_use", {})
@http.route([
"/rest_api/web/odexss/privacy",
"/web/odexss/privacy", ],
@http.route(["/rest_api/odexss/privacy", "/web/odexss/privacy", "/web/myodex/privacy", "/rest_api/myodex/privacy", ],
type="http",
auth="none",
csrf=False,