mirror of
				https://github.com/gnh1201/welsonjs.git
				synced 2025-10-31 04:51:17 +00:00 
			
		
		
		
	Update config.js and relative files
This commit is contained in:
		
							parent
							
								
									893e35c257
								
							
						
					
					
						commit
						e204d0d467
					
				
							
								
								
									
										4
									
								
								app.js
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								app.js
									
									
									
									
									
								
							|  | @ -148,7 +148,7 @@ function require(FN) { | |||
| // get configuration variables
 | ||||
| /////////////////////////////////////////////////////////////////////////////////
 | ||||
| 
 | ||||
| var __config = require("config"); | ||||
| var __config = require("config").config; | ||||
| 
 | ||||
| /////////////////////////////////////////////////////////////////////////////////
 | ||||
| // Load script, and call app.main()
 | ||||
|  | @ -220,4 +220,4 @@ function main() { | |||
|     } | ||||
| } | ||||
| 
 | ||||
| main(); | ||||
| main(); | ||||
|  |  | |||
|  | @ -1,10 +1,9 @@ | |||
| var FILE = require("lib/file"); | ||||
| var serverUrl = "http://158.247.196.146/"; | ||||
| 
 | ||||
| $(document).ready(function() { | ||||
|     $(".show-logged").css("display", "none"); | ||||
| 
 | ||||
|     $("#loginform").attr("action", serverUrl); | ||||
|     $("#loginform").attr("action", __config.webapp.baseURL); | ||||
|     $("#loginform").ajaxForm({ | ||||
|         beforeSubmit: function() { | ||||
|             console.log("로그인을 시도합니다. 잠시만 기다려 주세요."); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user