Feat/display remote cards
Description
In localmode it’s hard and useles to generate cards, but the memo is totally broken without the images. This MR prefixes cards by hostname when local folder public/cards
does not exists.
It means that /cards/mycard.png
become https://memo.fr/mycard.png
Issues : Closes #139 (closed)
Generator
-
New or updated files?
Checklist before merge :
-
No remaining console.log
-
Version changed if new feature -
Lint ok -
all eslintConfig rules are on ("2") (except no-useless-escape
/vue/no-mutating-props
)
Tests
-
Tests are ok -
If it’s a bug, a new test added -
If it’s a new feature, a new test added
Edited by Marc-AntoineA