Skip to content
Permalink
Browse files
playlist updated
  • Loading branch information
nellurib committed Jul 29, 2020
1 parent 4db3e53 commit 19472d0b732e34d3a362012252cc20d317b276db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
File renamed without changes.
@@ -168,10 +168,7 @@ router.get('/uploadTrack/:id',koaBody,async ctx=>{
console.log(ctx.hbs)}

})
router.get('/songs/:id',koaBody,async ctx=>{
console.log("play")
await ctx.redirect('playlist',ctx.hbs)
})

router.get('/playlist',koaBody,async ctx=>{
const upload= await new UploadTrack(dbName)
try{
@@ -13,19 +13,16 @@
</head>
<body>
<header>
<br>
<br>


<b>Username is</b> :{{username}}

<h1>PlayList</h1>
</header>
{{#if msg}}
<p class="msg">{{msg}}</p>
{{/if}}

<b>Username is</b> :{{username}}
<br>
<br>
<table border="1" align="center" cellspacing="20">
<table border="1" align="center" cellspacing="10">
<tr>
<th>SingerName</th>
<th>Track</th>

0 comments on commit 19472d0

Please sign in to comment.