fix image server references for tests (2 tests failing: missing function & looking for registration prompt for unregistered user)

This commit is contained in:
2025-02-16 09:11:28 -07:00
parent cc71d383e6
commit 898821c9aa
17 changed files with 137 additions and 106 deletions

View File

@@ -183,6 +183,14 @@ export default class SharedPhotoView extends Vue {
);
formData.append("claimType", imageType);
if (
window.location.hostname === "localhost" &&
!DEFAULT_IMAGE_API_SERVER.includes("localhost")
) {
console.log(
"Using shared image API server, so only users on that server can play with images.",
);
}
const response = await axios.post(
DEFAULT_IMAGE_API_SERVER + "/image",
formData,