Skip to content

Commit

Permalink
fixed file links to repo and made relative, fixed blurred image issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Aatmaj-Zephyr committed Feb 4, 2024
1 parent bb0b389 commit 71e1f17
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 46 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.trunk
6 changes: 2 additions & 4 deletions auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@
async function check_username_psw(username, password) {
console.log("hi");
code = "N"
if(password == "admin"){
code = "Y"
}
var url = "https://myaccount.somaiya.edu/api/api/auth/GetMemberWInstProgrammes?SVVNetID=" + username + "&password=" + password + "&socialLogin="+code; // Replace with your API endpoint

var url = "https://myaccount.somaiya.edu/api/api/auth/GetMemberWInstProgrammes?SVVNetID=" + username + "&password=" + password + "&socialLogin="+code+"&token="; // Replace with your API endpoint
console.log(url)
try {
const response = await fetch(url);
Expand Down
Binary file removed logosmall.png
Binary file not shown.
71 changes: 29 additions & 42 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,30 @@
{
"name": "Somaiya Digital ID",
"short_name": "Digital ID",
"start_url": "/WPL-MP/generate.html",
"id":"/WPL-MP/index.html",
"display": "standalone",
"description": "Generate Digital ID",
"lang": "English",
"dir": "auto",
"scope":"/WPL-MP/",
"theme_color": "#ffabab",
"background_color": "#ffd7d7",
"orientation": "any",
"icons": [
{
"src": "https://www.somaiya.edu/assets/university/img/svv-emblem.svg",
"sizes": "32x32",
"type": "svg",
"purpose": "maskable"
},
{
"src": "./logo.png",
"sizes": "144x144",
"type": "image/png",
"purpose": "any"
},
{
"src": "./logosmall.png",
"sizes": "96x96",
"type": "image/png",
"purpose": "any"
}
],

"shortcuts": [
{
"name":"Somaiya Digital ID",
"url":"/WPL-MP/generate.html",
"description":"shortcut"
}
],
"gcm_sender_id": "103953800507"
}
"name": "Somaiya Digital ID",
"short_name": "Digital ID",
"start_url": "/generate.html",
"id": "/index.html",
"display": "standalone",
"description": "Generate Digital ID",
"lang": "English",
"dir": "auto",
"scope": "/",
"theme_color": "#ffabab",
"background_color": "#ffd7d7",
"orientation": "any",
"icons": [
{
"src": "./logo.png",
"sizes": "1024x1024",
"purpose": "any"
}
],

"shortcuts": [
{
"name": "Somaiya Digital ID",
"url": "/generate.html",
"description": "shortcut"
}
],
"gcm_sender_id": "103953800507"
}

0 comments on commit 71e1f17

Please sign in to comment.