Skip to content

Commit

Permalink
Updated site address
Browse files Browse the repository at this point in the history
  • Loading branch information
pavan71198 committed Feb 25, 2018
1 parent be6d643 commit 366eb43
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"activeTab",
"cookies",
"tabs",
"http://localhost:8000/",
"http://deep-player-new-dev.ap-south-1.elasticbeanstalk.com/",
"webNavigation"
]
}
4 changes: 2 additions & 2 deletions popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="row align-items-center text-center">
<div class="col">
You are not logged in, please login to <br>
<a target="_blank" href="http://localhost:8000/accounts/login/">Deep Player</a>
<a target="_blank" href="http://deep-player-new-dev.ap-south-1.elasticbeanstalk.com/accounts/login/?next=/">Deep Player</a>
</div>
</div>
<br><br><br>
Expand All @@ -34,7 +34,7 @@
</div>
<div id="upload-success" class="row align-items-center text-center d-none">
<div class="col">
Video upload request successfully sent to <br> <a target="_blank" href="http://localhost:8000/">Deep Player</a>
Video upload request successfully sent to <br> <a target="_blank" href="http://deep-player-new-dev.ap-south-1.elasticbeanstalk.com/">Deep Player</a>
</div>
</div>
<br><br><br>
Expand Down
6 changes: 3 additions & 3 deletions popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ $(document).ready(function(){
var csrftoken = "";
var sessionid = "";

chrome.cookies.get({url: 'http://localhost:8000/', name: 'csrftoken'},
chrome.cookies.get({url: 'http://deep-player-new-dev.ap-south-1.elasticbeanstalk.com/', name: 'csrftoken'},
function (cookie) {
console.log(cookie);
csrftoken = cookie.value;
}
);

chrome.cookies.get({url: 'http://localhost:8000/', name: 'sessionid'},
chrome.cookies.get({url: 'http://deep-player-new-dev.ap-south-1.elasticbeanstalk.com/', name: 'sessionid'},
function (cookie) {
console.log(cookie);
if (cookie){
Expand All @@ -32,7 +32,7 @@ $(document).ready(function(){
$('#upload-button').on('click',function(){
var videoname = $('#video-name').val();
$.ajax({
url: "http://localhost:8000/uploadvideo/",
url: "http://deep-player-new-dev.ap-south-1.elasticbeanstalk.com/uploadvideo/",
type: "POST",
data: {
videoname: videoname,
Expand Down

0 comments on commit 366eb43

Please sign in to comment.