Skip to content

Commit 15b4477

Browse files
SteffenDEgithub-actions[bot]
authored andcommitted
Update assets
1 parent 12fb217 commit 15b4477

File tree

6 files changed

+20
-5
lines changed

6 files changed

+20
-5
lines changed

priv/static/phoenix.cjs.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

priv/static/phoenix.cjs.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

priv/static/phoenix.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,11 @@ var Phoenix = (() => {
689689
this.ajax("GET", headers, null, () => this.ontimeout(), (resp) => {
690690
if (resp) {
691691
var { status, token, messages } = resp;
692+
if (status === 410 && this.token !== null) {
693+
this.onerror(410);
694+
this.closeAndRetry(3410, "session_gone", false);
695+
return;
696+
}
692697
this.token = token;
693698
} else {
694699
status = 0;

priv/static/phoenix.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

priv/static/phoenix.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,11 @@ var LongPoll = class {
660660
this.ajax("GET", headers, null, () => this.ontimeout(), (resp) => {
661661
if (resp) {
662662
var { status, token, messages } = resp;
663+
if (status === 410 && this.token !== null) {
664+
this.onerror(410);
665+
this.closeAndRetry(3410, "session_gone", false);
666+
return;
667+
}
663668
this.token = token;
664669
} else {
665670
status = 0;

priv/static/phoenix.mjs.map

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)