mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	add the initpoketube function :3
This commit is contained in:
		
							parent
							
								
									621e098183
								
							
						
					
					
						commit
						910250047b
					
				
							
								
								
									
										11
									
								
								server.js
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								server.js
									
									
									
									
									
								
							| @ -80,6 +80,13 @@ | ||||
|     "monke", | ||||
|   ]; | ||||
| 
 | ||||
|   const initPokeTube = function() { | ||||
|   sinit(app, config, renderTemplate); | ||||
|   initlog("inited super init") | ||||
|   init(app);     | ||||
|   initlog("inited app") | ||||
|   } | ||||
|    | ||||
|   try { | ||||
|   app.use(function (req, res, next) { | ||||
|     res.header("Access-Control-Allow-Origin", "*"); | ||||
| @ -136,7 +143,5 @@ | ||||
|     initlog("[FAILED] load robots.txt") | ||||
|   } | ||||
|    | ||||
|   sinit(app, config, renderTemplate); | ||||
| 
 | ||||
|   init(app); | ||||
|   initPokeTube() | ||||
| })(); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley
						Ashley