Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Add sitemap

Acho Arnoldcf1bd265c418
diff --git a/web/nuxt.config.js b/web/nuxt.config.js
index c7ffb4f5..99a7367b 100644
--- a/web/nuxt.config.js
+++ b/web/nuxt.config.js
@@ -61,6 +61,7 @@ export default {
},
},
],
+ '@nuxtjs/sitemap', // always put it at the end
],
// Axios module configuration: https://go.nuxtjs.dev/config-axios
@@ -85,6 +86,12 @@ export default {
middleware: ['user'],
},
+ sitemap: {
+ hostname: 'https://httpsms.com',
+ gzip: true,
+ exclude: ['/messages', '/settings', '/threads**'],
+ },
+
// Build Configuration: https://go.nuxtjs.dev/config-build
build: {},
}
diff --git a/web/package.json b/web/package.json
index fd7466ec..10bc797d 100644
--- a/web/package.json
+++ b/web/package.json
@@ -24,6 +24,7 @@
"@nuxtjs/axios": "^5.13.6",
"@nuxtjs/dotenv": "^1.4.1",
"@nuxtjs/firebase": "^8.2.2",
+ "@nuxtjs/sitemap": "^2.4.0",
"core-js": "^3.19.3",
"dotenv": "^16.0.1",
"firebase": "^9.8.4",
diff --git a/web/yarn.lock b/web/yarn.lock
index 65422cd3..ac419f47 100644
--- a/web/yarn.lock
+++ b/web/yarn.lock
@@ -2062,6 +2062,21 @@
dependencies:
http-proxy-middleware "^1.0.6"
+"@nuxtjs/sitemap@^2.4.0":
+ version "2.4.0"
+ resolved "https://registry.yarnpkg.com/@nuxtjs/sitemap/-/sitemap-2.4.0.tgz#6a9fa1c35e161f87375d59949d973568cec40614"
+ integrity sha512-TVgIYOtPp7KAfaUo76WRpGbO20j4D/xi/A7shFIGjARHs+FvfAWXNCtBT87dTwe/RoYzAsEKtijFFUTaSu5bUA==
+ dependencies:
+ async-cache "^1.1.0"
+ consola "^2.13.0"
+ etag "^1.8.1"
+ fresh "^0.5.2"
+ fs-extra "^8.1.0"
+ is-https "^2.0.2"
+ lodash.unionby "^4.8.0"
+ minimatch "^3.0.4"
+ sitemap "^4.1.1"
+
"@nuxtjs/stylelint-module@^4.1.0":
version "4.1.0"
resolved "https://registry.npmjs.org/@nuxtjs/stylelint-module/-/stylelint-module-4.1.0.tgz"
@@ -2376,6 +2391,11 @@
version "18.0.0"
resolved "https://registry.npmjs.org/@types/node/-/node-18.0.0.tgz"
+"@types/node@^12.0.2":
+ version "12.20.55"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240"
+ integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==
+
"@types/normalize-package-data@^2.4.0":
version "2.4.1"
resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz"
@@ -2428,6 +2448,13 @@
dependencies:
"@types/node" "*"
+"@types/sax@^1.2.0":
+ version "1.2.4"
+ resolved "https://registry.yarnpkg.com/@types/sax/-/sax-1.2.4.tgz#8221affa7f4f3cb21abd22f244cfabfa63e6a69e"
+ integrity sha512-pSAff4IAxJjfAXUG6tFkO7dsSbTmf8CtUpfhhZ5VhkRpC4628tJhh3+V6H1E+/Gs9piSzYKT5yzHO5M4GG9jkw==
+ dependencies:
+ "@types/node" "*"
+
"@types/serve-static@*":
version "1.13.10"
resolved "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.10.tgz"
@@ -3014,7 +3041,7 @@ aproba@^1.1.1:
version "1.2.0"
resolved "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz"
-arg@^4.1.0:
+arg@^4.1.0, arg@^4.1.1:
version "4.1.3"
resolved "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz"
@@ -3117,6 +3144,13 @@ astral-regex@^2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz"
+async-cache@^1.1.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/async-cache/-/async-cache-1.1.0.tgz#4a9a5a89d065ec5d8e5254bd9ee96ba76c532b5a"
+ integrity sha512-YDQc4vBn5NFhY6g6HhVshyi3Fy9+SQ5ePnE7JLDJn1DoL+i7ER+vMwtTNOYk9leZkYMnOwpBCWqyLDPw8Aig8g==
+ dependencies:
+ lru-cache "^4.0.0"
+
async-each@^1.0.1:
version "1.0.3"
resolved "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz"
@@ -4046,7 +4080,7 @@ connect@^3.7.0:
parseurl "~1.3.3"
utils-merge "1.0.1"
-consola@^2.10.0, consola@^2.10.1, consola@^2.15.0, consola@^2.15.3, consola@^2.6.0, consola@^2.9.0:
+consola@^2.10.0, consola@^2.10.1, consola@^2.13.0, consola@^2.15.0, consola@^2.15.3, consola@^2.6.0, consola@^2.9.0:
version "2.15.3"
resolved "https://registry.npmjs.org/consola/-/consola-2.15.3.tgz"
@@ -6505,6 +6539,11 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1:
dependencies:
is-extglob "^2.1.1"
+is-https@^2.0.2:
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/is-https/-/is-https-2.0.2.tgz#7009d303c72580f15897d5c063d6b6bc1f838fef"
+ integrity sha512-UfUCKVQH/6PQRCh5Qk9vNu4feLZiFmV/gr8DjbtJD0IrCRIDTA6E+d/AVFGPulI5tqK5W45fYbn1Nir1O99rFw==
+
is-negative-zero@^2.0.2:
version "2.0.2"
resolved "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz"
@@ -7535,6 +7574,11 @@ lodash.truncate@^4.4.2:
version "4.4.2"
resolved "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz"
+lodash.unionby@^4.8.0:
+ version "4.8.0"
+ resolved "https://registry.yarnpkg.com/lodash.unionby/-/lodash.unionby-4.8.0.tgz#883f098ff78f564a727b7508e09cdd539734bb83"
+ integrity sha512-e60kn4GJIunNkw6v9MxRnUuLYI/Tyuanch7ozoCtk/1irJTYBj+qNTxr5B3qVflmJhwStJBv387Cb+9VOfABMg==
+
lodash.uniq@^4.5.0:
version "4.5.0"
resolved "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz"
@@ -7572,7 +7616,7 @@ lower-case@^2.0.2:
dependencies:
tslib "^2.0.3"
-lru-cache@^4.1.2, lru-cache@^4.1.5:
+lru-cache@^4.0.0, lru-cache@^4.1.2, lru-cache@^4.1.5:
version "4.1.5"
resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz"
dependencies:
@@ -9776,7 +9820,7 @@ sass@~1.32.13:
dependencies:
chokidar ">=3.0.0 <4.0.0"
-sax@~1.2.4:
+sax@^1.2.4, sax@~1.2.4:
version "1.2.4"
resolved "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz"
@@ -9981,6 +10025,17 @@ sisteransi@^1.0.5:
version "1.0.5"
resolved "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz"
+sitemap@^4.1.1:
+ version "4.1.1"
+ resolved "https://registry.yarnpkg.com/sitemap/-/sitemap-4.1.1.tgz#c9b459c7d797e629c61f56b86586d4f67dbf250b"
+ integrity sha512-+8yd66IxyIFEMFkFpVoPuoPwBvdiL7Ap/HS5YD7igqO4phkyTPFIprCAE9NMHehAY5ZGN3MkAze4lDrOAX3sVQ==
+ dependencies:
+ "@types/node" "^12.0.2"
+ "@types/sax" "^1.2.0"
+ arg "^4.1.1"
+ sax "^1.2.4"
+ xmlbuilder "^13.0.0"
+
slash@^3.0.0:
version "3.0.0"
resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz"
@@ -11513,6 +11568,11 @@ xml-name-validator@^3.0.0:
version "3.0.0"
resolved "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz"
+xmlbuilder@^13.0.0:
+ version "13.0.2"
+ resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-13.0.2.tgz#02ae33614b6a047d1c32b5389c1fdacb2bce47a7"
+ integrity sha512-Eux0i2QdDYKbdbA6AM6xE4m6ZTZr4G4xF9kahI2ukSEMCzwce2eX9WlTI5J3s+NU7hpasFsr8hWIONae7LluAQ==
+
xmlchars@^2.2.0:
version "2.2.0"
resolved "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz"