Skip to content

Commit e612ff9

Browse files
committed
Update url for mod links
mods.aoe2map.net → mods.aoe2.se
1 parent 8bc9c99 commit e612ff9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

mapsapp/templates/mapsapp/collection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ <h4 class="text-center"><span id="collection-name">{{ collection.name }}</span>
4040
<p class="markdown-text" id="description">{{ collection.description }}</p>
4141
<div class="text-center">
4242
{% if collection.mod_id %}
43-
<a href="https://mods.aoe2map.net/{{ collection.mod_id }}"
43+
<a href="https://mods.aoe2.se/{{ collection.mod_id }}"
4444
class="card-link btn btn-outline-secondary mr-3"
4545
target="_blank">Go to Mod</a>
4646
{% endif %}

mapsapp/templates/mapsapp/map.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ <h5 class="card-subtitle mb-2 text-muted">by {{ rms.authors }}</h5>
149149
target="_blank">Website</a>
150150
{% endif %}
151151
{% if rms.mod_id %}
152-
<a href="https://mods.aoe2map.net/{{ rms.mod_id }}"
152+
<a href="https://mods.aoe2.se/{{ rms.mod_id }}"
153153
class="card-link btn btn-outline-secondary"
154154
target="_blank">Go to Mod</a>
155155
{% endif %}

mapsapp/tests/test_smoketest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def test_smoke_test(self):
117117

118118
self.browser.get(self.live_server_url + reverse('map_uuid', kwargs={'rms_id': new_map_uuid}))
119119
self.assertIn('Changelog Information', self.browser.page_source)
120-
self.assertIn('https://mods.aoe2map.net/1337', self.browser.page_source)
120+
self.assertIn('https://mods.aoe2.se/1337', self.browser.page_source)
121121
self.assertIn('<span class="votes">0</span>', self.browser.page_source)
122122

123123
# 0102_press_the_heart
@@ -152,7 +152,7 @@ def test_smoke_test(self):
152152
# 014_open_collection_page_and_find_map
153153

154154
self.click_page_link_text('Collection Name', 'Collection Description')
155-
self.assertIn('https://mods.aoe2map.net/42', self.browser.page_source)
155+
self.assertIn('https://mods.aoe2.se/42', self.browser.page_source)
156156
sleep(1)
157157
self.assertIn('Map Name', self.browser.page_source)
158158

@@ -179,7 +179,7 @@ def test_smoke_test(self):
179179
self.click_page_link('a-goto-created-map', 'Map Name')
180180
self.assertIn('Changelog Information: New Version', self.browser.page_source)
181181
self.assertIn('relic_nothing.png', self.browser.page_source)
182-
self.assertIn('https://mods.aoe2map.net/1337', self.browser.page_source)
182+
self.assertIn('https://mods.aoe2.se/1337', self.browser.page_source)
183183

184184
# 099_logout
185185

0 commit comments

Comments
 (0)