mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-18 15:25:33 -04:00
trying another dumb cache busting technique in send_view.js
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const axios = require("axios");
|
||||
const { v4: uuidv4 } = require("uuid");
|
||||
|
||||
exports.handler = function (event, context, callback) {
|
||||
try {
|
||||
@@ -64,6 +65,7 @@ exports.handler = function (event, context, callback) {
|
||||
"x-api-endpoint": endpointHost,
|
||||
"x-api-response": shortFeedback,
|
||||
"x-api-latency": response.elapsedTime,
|
||||
"x-api-id": uuidv4(),
|
||||
},
|
||||
body: response.data.toString("base64"),
|
||||
isBase64Encoded: true,
|
||||
|
@@ -36,7 +36,8 @@
|
||||
"axios": "^0.20.0",
|
||||
"normalize.css": "8.0.1",
|
||||
"twemoji": "13.0.1",
|
||||
"twemoji-emojis": "13.0.1"
|
||||
"twemoji-emojis": "13.0.1",
|
||||
"uuid": "^8.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^9.8.6",
|
||||
|
@@ -8293,6 +8293,11 @@ uuid@^3.0.1:
|
||||
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
|
||||
integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==
|
||||
|
||||
uuid@^8.3.0:
|
||||
version "8.3.0"
|
||||
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.0.tgz#ab738085ca22dc9a8c92725e459b1d507df5d6ea"
|
||||
integrity sha512-fX6Z5o4m6XsXBdli9g7DtWgAx+osMsRRZFKma1mIUsLCz6vRvv+pz5VNbyu9UEDzpMWulZfvpgb/cmDXVulYFQ==
|
||||
|
||||
v8-compile-cache@^2.0.3, v8-compile-cache@^2.1.1:
|
||||
version "2.1.1"
|
||||
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz#54bc3cdd43317bca91e35dcaf305b1a7237de745"
|
||||
|
Reference in New Issue
Block a user