Update 'server.js'
This commit is contained in:
		
							parent
							
								
									7918b3e728
								
							
						
					
					
						commit
						b103b81c92
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		|  | @ -87,6 +87,11 @@ module.exports = async => { | |||
|           name: "Youtube", | ||||
|           link: "sor.dog/youtube", | ||||
|           character: breakSocials("Youtube") | ||||
|         }, | ||||
|         { | ||||
|           name: "Discord", | ||||
|           link: "sor.dog/discord", | ||||
|           character: breakSocials("Discord") | ||||
|         } | ||||
|       ] | ||||
|     }); | ||||
|  | @ -110,6 +115,9 @@ module.exports = async => { | |||
|   app.get("/youtube", (req, res) => { | ||||
|     res.redirect(con.socials.youtube); | ||||
|   }); | ||||
|   app.get("/discord", (req, res) => { | ||||
|     res.redirect(con.socials.discord); | ||||
|   }); | ||||
| 
 | ||||
|   app.listen(port /* , hostname */, () => { | ||||
|     console.log(`[ Server ] Listening on ${port}`); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue