From 639f1e89aeba0873547b301d98dd2ec07c43c841 Mon Sep 17 00:00:00 2001 From: Wesley Bomar Date: Wed, 12 Jun 2024 14:48:58 -0500 Subject: [PATCH 1/5] fix: tup-715 ugly urls for subdomain links --- .../snippets/js-prevent-ugly-urls.html | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 apps/tup-cms/src/taccsite_cms/templates/snippets/js-prevent-ugly-urls.html diff --git a/apps/tup-cms/src/taccsite_cms/templates/snippets/js-prevent-ugly-urls.html b/apps/tup-cms/src/taccsite_cms/templates/snippets/js-prevent-ugly-urls.html new file mode 100644 index 000000000..e1b78006e --- /dev/null +++ b/apps/tup-cms/src/taccsite_cms/templates/snippets/js-prevent-ugly-urls.html @@ -0,0 +1,22 @@ + From e510af6b8293c4534e47f5cbdc90ea71921366a7 Mon Sep 17 00:00:00 2001 From: Wesley B <62723358+wesleyboar@users.noreply.github.com> Date: Wed, 12 Jun 2024 14:58:02 -0500 Subject: [PATCH 2/5] docs: tup-715 explain code --- .../taccsite_cms/templates/snippets/js-prevent-ugly-urls.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/tup-cms/src/taccsite_cms/templates/snippets/js-prevent-ugly-urls.html b/apps/tup-cms/src/taccsite_cms/templates/snippets/js-prevent-ugly-urls.html index e1b78006e..318aa62dc 100644 --- a/apps/tup-cms/src/taccsite_cms/templates/snippets/js-prevent-ugly-urls.html +++ b/apps/tup-cms/src/taccsite_cms/templates/snippets/js-prevent-ugly-urls.html @@ -1,7 +1,8 @@