We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6bb50e2 + 28aac4c commit 91a9847Copy full SHA for 91a9847
routes/index.js
@@ -62,6 +62,8 @@ async function createResoniteApiError(res, type) {
62
if (res.status === 404) {
63
return createError(res.status, `We couldn't find this ${type}.\n
64
Check your link is valid, and that the session is still open and publicly viewable.`);
65
+ } else if (res.status === 403) {
66
+ return createError(res.status, "This world is not published, therefore not publicly viewable.");
67
}
68
69
var text = await res.text();
0 commit comments