diff --git a/docs/.vuepress/theme/layouts/GlobalLayout.vue b/docs/.vuepress/theme/layouts/GlobalLayout.vue index 1c643f0..a798340 100644 --- a/docs/.vuepress/theme/layouts/GlobalLayout.vue +++ b/docs/.vuepress/theme/layouts/GlobalLayout.vue @@ -54,7 +54,7 @@ - +
Voir la page
@@ -175,17 +175,6 @@ export default { this.$store.commit('setRightDrawer', !this.$store.state.rightDrawer) }, - shortenURL (url) { - // var isgd = require('isgd') - - isgd.shorten('http://google.com', function(res) { - console.log(res) - return res - }) - - return url - }, - copyURI (id) { let toCopy = document.getElementById(id) toCopy.select() diff --git a/package.json b/package.json index 20f7bd5..c17555b 100644 --- a/package.json +++ b/package.json @@ -14,9 +14,9 @@ "@vuepress/plugin-blog": "^1.9.2", "@vuepress/plugin-google-analytics": "^1.4.1", "@vuepress/plugin-pwa": "^1.4.1", + "axios": "^0.19.2", "file-saver": "^2.0.2", "flexsearch": "nextapps-de/flexsearch", - "isgd": "^1.1.3", "js-cookie": "^2.2.1", "markdown-it-div": "^1.1.0", "markdown-it-multimd-table": "^4.0.1", diff --git a/yarn.lock b/yarn.lock index 903dfff..c45389b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1652,6 +1652,13 @@ axios@^0.18.1: follow-redirects "1.5.10" is-buffer "^2.0.2" +axios@^0.19.2: + version "0.19.2" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.19.2.tgz#3ea36c5d8818d0d5f8a8a97a6d36b86cdc00cb27" + integrity sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA== + dependencies: + follow-redirects "1.5.10" + babel-extract-comments@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/babel-extract-comments/-/babel-extract-comments-1.0.0.tgz#0a2aedf81417ed391b85e18b4614e693a0351a21" @@ -4672,11 +4679,6 @@ isexe@^2.0.0: resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= -isgd@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/isgd/-/isgd-1.1.3.tgz#98808dac152a7247497c5d068308012eccfa4351" - integrity sha1-mICNrBUqckdJfF0GgwgBLsz6Q1E= - isobject@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89"