Skip to content

Commit

Permalink
chore: move session-keepalive script
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Jul 14, 2024
1 parent 307786c commit 57bfcf3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/features/autologin/content-script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ export function showAutologinNotification() {
export function injectSessionKeepalive() {
const script = document.createElement('script')
script.type = 'text/javascript'
script.src = chrome.runtime.getURL('src/entrypoints/content-script-moodle/session-keepalive.js')
script.src = chrome.runtime.getURL('src/features/autologin/session-keepalive.js')
document.body.appendChild(script)
}
File renamed without changes.
2 changes: 1 addition & 1 deletion src/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default defineManifest({
},
{
// Injected into the moodle page to keep the session alive
resources: ['src/entrypoints/content-script-moodle/session-keepalive.js'],
resources: ['src/features/autologin/session-keepalive.js'],
matches: ['https://moodle.innopolis.university/*'],
},
],
Expand Down

0 comments on commit 57bfcf3

Please # to comment.